diff options
author | Mathieu Blondel <mathieu@mblondel.org> | 2007-05-24 21:01:17 +0000 |
---|---|---|
committer | Mathieu BlondelMathieu Blondel <mathieu@mblondel.orgmathieu@mblondel.org> | 2007-05-24 21:01:17 +0000 |
commit | 8aed34a31817dcb6caef19b5745bea32d719f266 (patch) | |
tree | 5f87301c83e5df39346dc2a9589365fe833e229e /src | |
parent | c2d3ce974e0907e3a3e870ecab857316b2f39872 (diff) | |
download | wikipediafs-8aed34a31817dcb6caef19b5745bea32d719f266.tar.gz |
small fix (just for readability)
git-svn-id: http://svn.code.sf.net/p/wikipediafs/code/trunk@48 59acd704-e115-0410-a914-e735a229ed7c
Diffstat (limited to 'src')
-rw-r--r-- | src/wikipediafs/metadir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wikipediafs/metadir.py b/src/wikipediafs/metadir.py index 8ff953e..c48b2f3 100644 --- a/src/wikipediafs/metadir.py +++ b/src/wikipediafs/metadir.py @@ -97,7 +97,7 @@ class MetaDir(Fuse): def is_valid_file(self, path): name = os.path.basename(path) - if len(name): + if len(name) > 0: if name[0] == ".":# hidden file return False elif name[-4:] == ".swp": # vi swap file |