Show More
@@ -303,13 +303,11 b' class RepoGroupModel(object):' | |||||
303 | for obj in repo_group.recursive_groups_and_repos(): |
|
303 | for obj in repo_group.recursive_groups_and_repos(): | |
304 | if isinstance(obj, db.RepoGroup): |
|
304 | if isinstance(obj, db.RepoGroup): | |
305 | new_name = obj.get_new_name(obj.name) |
|
305 | new_name = obj.get_new_name(obj.name) | |
306 | log.debug('Fixing group %s to new name %s' |
|
306 | log.debug('Fixing repo group %s to new name %s', obj.group_name, new_name) | |
307 | % (obj.group_name, new_name)) |
|
|||
308 | obj.group_name = new_name |
|
307 | obj.group_name = new_name | |
309 | elif isinstance(obj, db.Repository): |
|
308 | elif isinstance(obj, db.Repository): | |
310 | new_name = obj.get_new_name(obj.just_name) |
|
309 | new_name = obj.get_new_name(obj.just_name) | |
311 | log.debug('Fixing repo %s to new name %s' |
|
310 | log.debug('Fixing repo %s to new name %s', obj.repo_name, new_name) | |
312 | % (obj.repo_name, new_name)) |
|
|||
313 | obj.repo_name = new_name |
|
311 | obj.repo_name = new_name | |
314 |
|
312 | |||
315 | # Rename in file system |
|
313 | # Rename in file system |
General Comments 0
You need to be logged in to leave comments.
Login now