##// END OF EJS Templates
cleanup script walks recursive on dirs to find repos to cleanup
marcink -
r2962:c400f2fb beta
parent child Browse files
Show More
@@ -88,7 +88,8 b' class CleanupCommand(BasePasterCommand):'
88 88
89 89 repos_location = RhodeCodeUi.get_repos_location()
90 90 to_remove = []
91 for loc in os.listdir(repos_location):
91 for dn, dirs, f in os.walk(str(repos_location)):
92 for loc in dirs:
92 93 if REMOVED_REPO_PAT.match(loc):
93 94 to_remove.append([loc, self._extract_date(loc)])
94 95
General Comments 0
You need to be logged in to leave comments. Login now