Author: sebastien.lelong
Date: Fri Sep  5 00:35:39 2008
New Revision: 271

Modified:
    trunk/tools/jsg_validator.py

Log:
fix check lowercase for filename when containing a whole path

Modified: trunk/tools/jsg_validator.py
==============================================================================
--- trunk/tools/jsg_validator.py        (original)
+++ trunk/tools/jsg_validator.py        Fri Sep  5 00:35:39 2008
@@ -132,6 +132,7 @@

  def validate_filename(filename):
        # must be lowercase
+       filename = os.path.basename(filename)
        if filename.lower() != filename:
                errors.append("Filename is not lowercase: %s" % filename)
        # should have "jal" extention

--~--~---------~--~----~------------~-------~--~----~
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