summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorChris Little <chrislit@crosswire.org>2012-08-12 18:57:56 +0000
committerChris Little <chrislit@crosswire.org>2012-08-12 18:57:56 +0000
commit2f26787ddb39cd0450b9307a695682a9955f2396 (patch)
treeb05bff5d9f6149cb80399e63a056f0807762091f /modules
parent994118d1fcb57e4395ae5cbb9325a67305f2d9a5 (diff)
downloadsword-tools-2f26787ddb39cd0450b9307a695682a9955f2396.tar.gz
switched from GPL3 to GPL2 in preparation for future use of Sword bindings
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@385 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/python/usfm2osis.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/python/usfm2osis.py b/modules/python/usfm2osis.py
index eed7f09..0f938db 100755
--- a/modules/python/usfm2osis.py
+++ b/modules/python/usfm2osis.py
@@ -12,18 +12,17 @@ scriptVersion = '0.5'
# 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 convertToOSIS(sFile):
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)