diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:39:05 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 05:39:05 +0100 |
commit | 39ab4d25147a8e115fc4f6f05c8246dbe51c3ca0 (patch) | |
tree | eb448cc6123143dd07c41d2d7ff5c863d0be2e5a | |
parent | 99ab1e22e9dfd8ca058cb2256ee01b6492659438 (diff) | |
download | troggle-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
-rw-r--r-- | expo/fileAbstraction.py | 2 |
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)): |