From 9221278682b1fd07a09a8b9e3ad6196bc32a21cc Mon Sep 17 00:00:00 2001 From: g0tmi1k Date: Sun, 1 Jun 2014 14:20:50 +0100 Subject: [PATCH] Replaced tabs with spaces --- utils/createfs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/createfs.py b/utils/createfs.py index 095ae03c..311213a3 100755 --- a/utils/createfs.py +++ b/utils/createfs.py @@ -28,9 +28,9 @@ def recurse(root, tree, count = 0): entry = [name, T_FILE, s.st_uid, s.st_gid, s.st_size, s.st_mode, \ int(s.st_ctime), [], None, None] - if S_ISLNK(s[ST_MODE]): - entry[A_TYPE] = T_LINK - entry[A_TARGET] = os.path.realpath(path) + if S_ISLNK(s[ST_MODE]): + entry[A_TYPE] = T_LINK + entry[A_TARGET] = os.path.realpath(path) elif S_ISDIR(s[ST_MODE]): entry[A_TYPE] = T_DIR if not path.startswith('/proc/'): @@ -47,7 +47,7 @@ def recurse(root, tree, count = 0): entry[A_TYPE] = T_FIFO else: sys.stderr.write('We should handle %s' % path) - sys.exit(1) + sys.exit(1) tree.append(entry)