Show More
@@ -73,7 +73,8 b' class UpdateCommand(BasePasterCommand):' | |||||
73 | else: |
|
73 | else: | |
74 | repo_list = Repository.getAll() |
|
74 | repo_list = Repository.getAll() | |
75 | for repo in repo_list: |
|
75 | for repo in repo_list: | |
76 | last_change = repo.scm_instance.last_change |
|
76 | last_change = (repo.scm_instance.last_change if repo.scm_instance | |
|
77 | else datetime.datetime.utcfromtimestamp(0)) | |||
77 | repo.update_last_change(last_change) |
|
78 | repo.update_last_change(last_change) | |
78 |
|
79 | |||
79 | def update_parser(self): |
|
80 | def update_parser(self): |
General Comments 0
You need to be logged in to leave comments.
Login now