[sword-svn] r385 - trunk/modules/python

chrislit at crosswire.org chrislit at crosswire.org
Sun Aug 12 11:57:56 MST 2012


Author: chrislit
Date: 2012-08-12 11:57:56 -0700 (Sun, 12 Aug 2012)
New Revision: 385

Modified:
   trunk/modules/python/usfm2osis.py
Log:
switched from GPL3 to GPL2 in preparation for future use of Sword bindings


Modified: trunk/modules/python/usfm2osis.py
===================================================================
--- trunk/modules/python/usfm2osis.py	2012-08-12 18:38:29 UTC (rev 384)
+++ trunk/modules/python/usfm2osis.py	2012-08-12 18:57:56 UTC (rev 385)
@@ -12,18 +12,17 @@
 # usfm2osis.py
 # Copyright 2012 by the CrossWire Bible Society <http://www.crosswire.org/>
 #
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation version 2.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
 #
 # The full text of the GNU General Public License is available at:
-# <http://www.gnu.org/licenses/gpl-3.0.txt>.
+# <http://www.gnu.org/licenses/gpl-2.0.txt>.
 
 
 ### Guidelines & objectives:
@@ -1000,6 +999,7 @@
 
     def processOsisIDs(osis):
         # TODO: add support for subverses, including in ranges/series, e.g. Matt.1.1!b-Matt.2.5,Matt.2.7!a
+        # TODO: make sure that descending ranges generate invalid markup (osisID="")
         # expand verse ranges, series
         def expandRange(vRange):
             vRange = re.findall(r'\d+', vRange)




More information about the sword-cvs mailing list