Changeset - 9e750b37b391
[Not reviewed]
default
0 1 0
Mads Kiilerich - 9 years ago 2016-10-18 23:29:23
madski@unity3d.com
util: fix missing isfile in get_filesystem_repos after 186bf5fee0a1
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/utils.py
Show inline comments
 
@@ -231,7 +231,8 @@ def get_filesystem_repos(path):
 
            if (isdir(cur_path, '.hg') or
 
                isdir(cur_path, '.git') or
 
                isdir(cur_path, '.svn') or
 
                isdir(cur_path, 'objects') and (isdir(cur_path, 'refs') or isfile(cur_path, 'packed-refs'))):
 
                isdir(cur_path, 'objects') and (isdir(cur_path, 'refs') or
 
                                                os.path.isfile(os.path.join(cur_path, 'packed-refs')))):
 

	
 
                if not os.access(cur_path, os.R_OK) or not os.access(cur_path, os.X_OK):
 
                    log.warning('ignoring repo path without access: %s', cur_path)
0 comments (0 inline, 0 general)