[sword-svn] r2788 - trunk/bindings/swig/examples
greg.hellings at crosswire.org
greg.hellings at crosswire.org
Wed Feb 27 07:48:13 MST 2013
Author: greg.hellings
Date: 2013-02-27 07:48:13 -0700 (Wed, 27 Feb 2013)
New Revision: 2788
Modified:
trunk/bindings/swig/examples/av11n.py
Log:
Updated to reflect the changes in the binding due to
SWORD deprecations.
Modified: trunk/bindings/swig/examples/av11n.py
===================================================================
--- trunk/bindings/swig/examples/av11n.py 2013-02-27 14:41:13 UTC (rev 2787)
+++ trunk/bindings/swig/examples/av11n.py 2013-02-27 14:48:13 UTC (rev 2788)
@@ -40,7 +40,7 @@
# 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
@@ -59,7 +59,7 @@
ntextraKeys = [] # Anything that gets placed in here is extraneous NT material (we think)
inNT = False
- while key.Error() == '\x00':
+ while key.popError() == '\x00':
skey = key.getOSISRef()
if not inNT and re.match('^Matt', skey): # Assume we enter the NT when we hit Matthew
inNT = True
More information about the sword-cvs
mailing list