Show More
@@ -88,9 +88,10 b' class CleanupCommand(BasePasterCommand):' | |||
|
88 | 88 | |
|
89 | 89 | repos_location = RhodeCodeUi.get_repos_location() |
|
90 | 90 | to_remove = [] |
|
91 |
for |
|
|
92 | if REMOVED_REPO_PAT.match(loc): | |
|
93 | to_remove.append([loc, self._extract_date(loc)]) | |
|
91 | for dn, dirs, f in os.walk(str(repos_location)): | |
|
92 | for loc in dirs: | |
|
93 | if REMOVED_REPO_PAT.match(loc): | |
|
94 | to_remove.append([loc, self._extract_date(loc)]) | |
|
94 | 95 | |
|
95 | 96 | #filter older than (if present)! |
|
96 | 97 | now = datetime.datetime.now() |
General Comments 0
You need to be logged in to leave comments.
Login now