[Rapier-commits] r162 - trunk/src
This list send mail when a change occurs on the subversion repository
rapier-commits at garage.maemo.org
Sat Dec 1 18:34:46 EET 2007
Author: pamadio
Date: 2007-12-01 18:34:46 +0200 (Sat, 01 Dec 2007)
New Revision: 162
Modified:
trunk/src/rapier
Log:
Steven Walter ( 35) [PATCH] Remove bogus checks
Modified: trunk/src/rapier
===================================================================
--- trunk/src/rapier 2007-12-01 16:33:31 UTC (rev 161)
+++ trunk/src/rapier 2007-12-01 16:34:46 UTC (rev 162)
@@ -185,15 +185,15 @@
"""
vk=Sword.VerseKey()
out=[]
- for i in range(2):
- vk.Testament(i+1)
- for j in range(vk.bookCount(i+1)):
- vk.Book(j+1)
+ for i in range(1,3):
+ vk.Testament(i)
+ for j in range(1,vk.bookCount(i)+1):
+ vk.Book(j)
tmp={}
- tmp['name']=vk.bookName(i+1,j+1)
+ tmp['name']=vk.bookName(i,j)
tmp['abbr']=vk.getBookAbbrev()
- tmp['testament']=i+1
- tmp['bookCount']=j+1
+ tmp['testament']=i
+ tmp['bookCount']=j
out.append(tmp)
return out
More information about the Rapier-commits
mailing list