summaryrefslogtreecommitdiffstats
path: root/versification/av11n.py
diff options
context:
space:
mode:
Diffstat (limited to 'versification/av11n.py')
-rwxr-xr-xversification/av11n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/versification/av11n.py b/versification/av11n.py
index 5e01c9e..7dabfee 100755
--- a/versification/av11n.py
+++ b/versification/av11n.py
@@ -41,7 +41,7 @@ d = pq(filename=sys.argv[1])
# Get the list of versifications
if debug:
print 'Fetching a list of versifications'
-vmgr = Sword.VerseMgr.getSystemVerseMgr()
+vmgr = Sword.VersificationMgr.getSystemVersificationMgr()
av11ns = vmgr.getVersificationSystems()
# Get the list of all osisIDs
@@ -64,7 +64,7 @@ for v11n in av11ns:
ntextraKeys = []
inNT = False
- while key.Error() == '\x00':
+ while key.popError() == '\x00':
skey = key.getOSISRef()
# Assume we enter the NT when we hit Matthew
if not inNT and re.match('^Matt', skey):