Author: sebastien.lelong
Date: Fri Oct 24 12:36:22 2008
New Revision: 460

Modified:
    trunk/tools/jallib.py

Log:
what is there is a file instead of a dir...

Modified: trunk/tools/jallib.py
==============================================================================
--- trunk/tools/jallib.py       (original)
+++ trunk/tools/jallib.py       Fri Oct 24 12:36:22 2008
@@ -68,6 +68,8 @@

  def get_jal_filenames(dir,subdir=None):
        jalfiles = {}
+       if os.path.isfile(dir):
+               return {dir:dir}
        for df in os.listdir(dir):
                if df.startswith("."):
                        continue

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to