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:
|
try:
|
||||||
return func(f)
|
return func(f)
|
||||||
except FileError, e:
|
except FileError, e:
|
||||||
if os.path.issymlink(f):
|
if os.path.islink(f):
|
||||||
ctx.ui.warning(_('Ignoring "external" link %s') % f)
|
ctx.ui.warning(_('Ignoring "external" link %s') % f)
|
||||||
else:
|
else:
|
||||||
raise e
|
raise e
|
||||||
|
|||||||
Reference in New Issue
Block a user