Show More
@@ -544,5 +544,8 b' class RepoModel(BaseModel):' | |||||
544 | _now = datetime.now() |
|
544 | _now = datetime.now() | |
545 | _ms = str(_now.microsecond).rjust(6, '0') |
|
545 | _ms = str(_now.microsecond).rjust(6, '0') | |
546 | _d = 'rm__%s__%s' % (_now.strftime('%Y%m%d_%H%M%S_' + _ms), |
|
546 | _d = 'rm__%s__%s' % (_now.strftime('%Y%m%d_%H%M%S_' + _ms), | |
547 |
repo. |
|
547 | repo.just_name) | |
|
548 | if repo.group: | |||
|
549 | args = repo.group.full_path_splitted + [_d] | |||
|
550 | _d = os.path.join(*args) | |||
548 | shutil.move(rm_path, os.path.join(self.repos_path, _d)) |
|
551 | 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