diff --git a/eb_hooks.py b/eb_hooks.py index 9601aa1264..b4a9affddf 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -983,7 +983,7 @@ def pre_package_eessi_extend(self, *args, **kwargs): dir_tree.append(os.path.join(root, f)) for entry in dir_tree: print(entry) - print(stat.S_IMODE(os.lstat(entry).st_mode)) + print(oct(stat.S_IMODE(os.lstat(entry).st_mode))) PARSE_HOOKS = {