summaryrefslogtreecommitdiffstats
path: root/expo/fileAbstraction.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:39:05 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:39:05 +0100
commit39ab4d25147a8e115fc4f6f05c8246dbe51c3ca0 (patch)
treeeb448cc6123143dd07c41d2d7ff5c863d0be2e5a /expo/fileAbstraction.py
parent99ab1e22e9dfd8ca058cb2256ee01b6492659438 (diff)
downloadtroggle-39ab4d25147a8e115fc4f6f05c8246dbe51c3ca0.tar.gz
troggle-39ab4d25147a8e115fc4f6f05c8246dbe51c3ca0.tar.bz2
troggle-39ab4d25147a8e115fc4f6f05c8246dbe51c3ca0.zip
[svn] Added os.path.isDir prior to os.listdir. Otherwise Julians server
through lots of errors. No idea why Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8191 by julian @ 1/18/2009 9:08 PM
Diffstat (limited to 'expo/fileAbstraction.py')
-rw-r--r--expo/fileAbstraction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/expo/fileAbstraction.py b/expo/fileAbstraction.py
index 299a488..94b8b0c 100644
--- a/expo/fileAbstraction.py
+++ b/expo/fileAbstraction.py
@@ -10,7 +10,7 @@ def listdir(*path):
root = os.path.join(settings.FILES, *strippedpath )
l = ""
#l = root + "\n"
- #isdir = os.path.isdir(root)
+ isdir = os.path.isdir(root) #This seems to be required for os.path.isdir to work...
#l += str(isdir) + "\n"
for p in os.listdir(root):
if os.path.isdir(os.path.join(root, p)):