diff options
author | hut <hut@lavabit.com> | 2010-05-06 03:35:17 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-05-06 03:35:17 +0200 |
commit | f74834c23ac08b8c804e8f87d2df7efc29d7483a (patch) | |
tree | 42617b73deed307867d92da40b5f97f0f75cd749 | |
parent | c0175f6d3cba53951ac8468003fd2c8de69bb357 (diff) | |
download | ranger-f74834c23ac08b8c804e8f87d2df7efc29d7483a.tar.gz |
fsobject.directory: bugfix
-rw-r--r-- | ranger/fsobject/directory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 5acf6ca7..60387e7b 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -181,8 +181,8 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): files = [] for name in filenames: - file_lstat = os.lstat(name) try: + file_lstat = os.lstat(name) if S_ISLNK(file_lstat.st_mode): file_stat = os.stat(name) else: |