[cc-commits] [CC SVN] r11364 - in cc.license/branches/production: . cc/license

webmaster at creativecommons.org webmaster at creativecommons.org
Wed Dec 3 14:09:37 EST 2008


Author: nyergler
Date: 2008-12-03 19:09:37 +0000 (Wed, 03 Dec 2008)
New Revision: 11364

Modified:
   cc.license/branches/production/
   cc.license/branches/production/cc/license/license.py
Log:
Merged revisions 11363 via svnmerge from 
svn+ssh://svn@code.creativecommons.org/svnroot/cc.license/trunk

........
  r11363 | nyergler | 2008-12-03 11:01:35 -0800 (Wed, 03 Dec 2008) | 2 lines
  
  Don't return a bogus version number for non-versioned licenses.
........



Property changes on: cc.license/branches/production
___________________________________________________________________
Modified: svnmerge-integrated
   - /cc.license/trunk:1-10612
   + /cc.license/trunk:1-10612,11363

Modified: cc.license/branches/production/cc/license/license.py
===================================================================
--- cc.license/branches/production/cc/license/license.py	2008-12-03 19:01:35 UTC (rev 11363)
+++ cc.license/branches/production/cc/license/license.py	2008-12-03 19:09:37 UTC (rev 11364)
@@ -47,7 +47,7 @@
                 self.name_info['jurisdiction'] = uri_pieces[-1]
             except ValueError:
                 # no version or jurisdiction -- pd, bsd, mit, etc
-                self.name_info['version'] = 0
+                self.name_info['version'] = '' #0
                 self.name_info['jurisdiction'] = '-'
             
     @property




More information about the cc-commits mailing list