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([ |
|
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