##// END OF EJS Templates
fixes issue #756 cleanup repos didn't properly compose paths of repos to be cleaned up....
marcink -
r3356:031a698e default
parent child Browse files
Show More
@@ -91,7 +91,8 b' class CleanupCommand(BasePasterCommand):'
91 for dn, dirs, f in os.walk(safe_str(repos_location)):
91 for dn, dirs, f in os.walk(safe_str(repos_location)):
92 for loc in dirs:
92 for loc in dirs:
93 if REMOVED_REPO_PAT.match(loc):
93 if REMOVED_REPO_PAT.match(loc):
94 to_remove.append([loc, self._extract_date(loc)])
94 to_remove.append([os.path.join(dn, loc),
95 self._extract_date(loc)])
95
96
96 #filter older than (if present)!
97 #filter older than (if present)!
97 now = datetime.datetime.now()
98 now = datetime.datetime.now()
General Comments 0
You need to be logged in to leave comments. Login now