Author: sebastien.lelong
Date: Fri May 29 11:59:28 2009
New Revision: 1019

Modified:
    trunk/tools/jallib.py

Log:
allow naked compiler version

Modified: trunk/tools/jallib.py
==============================================================================
--- trunk/tools/jallib.py       (original)
+++ trunk/tools/jallib.py       Fri May 29 11:59:28 2009
@@ -221,7 +221,7 @@
  def content_not_empty(val):
        return val.strip() != ''
  def compiler_version(val):
-       return re.match("^(>|<|>=|<=|=)\d+(\.\d+\w*)+\s+",val)
+       return re.match("^(>|<|>=|<=|=)?\d+(\.\d+\w*)+\s+$",val)

  JALLIB = """^-- This file is part of  
jallib\s+\(http://jallib.googlecode.com\)"""
  LICENSE = """^-- Released under the BSD  
license\s+\(http://www.opensource.org/licenses/bsd-license.php\)"""

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