##// END OF EJS Templates
cleanup: remove superfluous os.path.join on absolute path
marcink -
r3383:c8fd8cca beta
parent child Browse files
Show More
@@ -116,9 +116,9 b' class Command(BasePasterCommand):'
116 % (safe_str(x[0]), safe_str(x[1])) for x in to_remove]))
116 % (safe_str(x[0]), safe_str(x[1])) for x in to_remove]))
117
117
118 if remove:
118 if remove:
119 for name, date_ in to_remove:
119 for path, date_ in to_remove:
120 print >> sys.stdout, 'removing repository %s' % name
120 print >> sys.stdout, 'removing repository %s' % path
121 shutil.rmtree(os.path.join(repos_location, name))
121 shutil.rmtree(path))
122 else:
122 else:
123 print 'nothing done exiting...'
123 print 'nothing done exiting...'
124 sys.exit(0)
124 sys.exit(0)
General Comments 0
You need to be logged in to leave comments. Login now