diff --git a/pisi/util.py b/pisi/util.py index 0e68a8a5..5b3705cf 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -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