diff options
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -173,7 +173,7 @@ if not REPO_REV: | |||
173 | BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071" | 173 | BUG_URL = "https://issues.gerritcodereview.com/issues/new?component=1370071" |
174 | 174 | ||
175 | # increment this whenever we make important changes to this script | 175 | # increment this whenever we make important changes to this script |
176 | VERSION = (2, 36) | 176 | VERSION = (2, 37) |
177 | 177 | ||
178 | # increment this if the MAINTAINER_KEYS block is modified | 178 | # increment this if the MAINTAINER_KEYS block is modified |
179 | KEYRING_VERSION = (2, 3) | 179 | KEYRING_VERSION = (2, 3) |
@@ -838,7 +838,7 @@ def SetGitTrace2ParentSid(env=None): | |||
838 | 838 | ||
839 | KEY = "GIT_TRACE2_PARENT_SID" | 839 | KEY = "GIT_TRACE2_PARENT_SID" |
840 | 840 | ||
841 | now = datetime.datetime.utcnow() | 841 | now = datetime.datetime.now(datetime.timezone.utc) |
842 | value = "repo-%s-P%08x" % (now.strftime("%Y%m%dT%H%M%SZ"), os.getpid()) | 842 | value = "repo-%s-P%08x" % (now.strftime("%Y%m%dT%H%M%SZ"), os.getpid()) |
843 | 843 | ||
844 | # If it's already set, then append ourselves. | 844 | # If it's already set, then append ourselves. |