fix fox
System Error. Program Terminated. exceptions.AttributeError: 'module' object has no attribute 'issymlink'
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ def get_file_hashes(top, exclude_prefix=None, removePrefix=None):
|
||||
try:
|
||||
return func(f)
|
||||
except FileError, e:
|
||||
if os.path.issymlink(f):
|
||||
if os.path.islink(f):
|
||||
ctx.ui.warning(_('Ignoring "external" link %s') % f)
|
||||
else:
|
||||
raise e
|
||||
|
||||
Reference in New Issue
Block a user