Chromium Code Reviews| Index: testing_support/git/repo.py |
| diff --git a/testing_support/git/repo.py b/testing_support/git/repo.py |
| index 566f755987af73dd171e5824a4c2fb6c5c3c5bc4..af45bafa3032df3e7946a13069b4952f1ff3be34 100644 |
| --- a/testing_support/git/repo.py |
| +++ b/testing_support/git/repo.py |
| @@ -6,6 +6,7 @@ import atexit |
| import collections |
| import datetime |
| import os |
| +import pytz |
|
iannucci
2014/09/03 15:28:33
there's not pytz dep for testing_support... why no
|
| import shutil |
| import subprocess |
| import sys |
| @@ -69,7 +70,7 @@ class GitRepo(object): |
| """ |
| self.repo_path = tempfile.mkdtemp(dir=self.BASE_TEMP_DIR) |
| self.commit_map = {} |
| - self._date = datetime.datetime(1970, 1, 1) |
| + self._date = datetime.datetime(1970, 1, 1, tzinfo=pytz.utc) |
| self.to_schema_refs = ['--branches'] |