diff rhodecode/lib/vcs/utils/helpers.py @ 3228:ba2e2514a01a beta

reposcann should skip directories with starting with '.' some code cleanup, moved all skipping to get_repos function
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 26 Jan 2013 20:11:55 +0100
parents cd25fa6f4008
children d7488551578e
line wrap: on
line diff
--- a/rhodecode/lib/vcs/utils/helpers.py	Fri Jan 25 16:42:02 2013 +0100
+++ b/rhodecode/lib/vcs/utils/helpers.py	Sat Jan 26 20:11:55 2013 +0100
@@ -80,7 +80,7 @@
             continue
         dirname = os.path.join(path, 'rm__.' + key)
         if os.path.isdir(dirname):
-            return [None]
+            return result
         # We still need to check if it's not bare repository as
         # bare repos don't have working directories
         try:
@@ -131,6 +131,7 @@
         content = code
     return content
 
+
 def parse_changesets(text):
     """
     Returns dictionary with *start*, *main* and *end* ids.