aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMathieu Blondel <mathieu@mblondel.org>2007-05-24 21:01:17 +0000
committerMathieu BlondelMathieu Blondel <mathieu@mblondel.orgmathieu@mblondel.org>2007-05-24 21:01:17 +0000
commit8aed34a31817dcb6caef19b5745bea32d719f266 (patch)
tree5f87301c83e5df39346dc2a9589365fe833e229e /src
parentc2d3ce974e0907e3a3e870ecab857316b2f39872 (diff)
downloadwikipediafs-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.py2
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