* Use Sword.VersificationMgr.getSystemVersificationMgr() instead of Sword.VerseMgr.getSystemVerseMgr(). * Use popError() instead of Error(). --- versification/av11n.py | 4 ++-- 1 file 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): -- 2.16.2 _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page