Show More
@@ -533,7 +533,7 b' class RepoModel(BaseModel):' | |||||
533 | os.path.join(rm_path, 'rm__.%s' % alias)) |
|
533 | os.path.join(rm_path, 'rm__.%s' % alias)) | |
534 | # disable repo |
|
534 | # disable repo | |
535 | _now = datetime.now() |
|
535 | _now = datetime.now() | |
536 | _ms = str(_now.microsecond) |
|
536 | _ms = str(_now.microsecond).rjust(6, '0') | |
537 | _d = 'rm__%s__%s' % (_now.strftime('%Y%m%d_%H%M%S_' + _ms), |
|
537 | _d = 'rm__%s__%s' % (_now.strftime('%Y%m%d_%H%M%S_' + _ms), | |
538 | repo.repo_name) |
|
538 | repo.repo_name) | |
539 | shutil.move(rm_path, os.path.join(self.repos_path, _d)) |
|
539 | shutil.move(rm_path, os.path.join(self.repos_path, _d)) |
General Comments 0
You need to be logged in to leave comments.
Login now