def getFirstBookCode( self ):
     """
     Return the BBB code for the first book
         otherwise returns None.
     """
     if 1: return BibleBookOrderSystem.getBookAtOrderPosition( self, 1 )
     else: # I think this is wrong! Should use BookOrderSystem -- see next function
         bookList = self.getOrganizationalSystemValue( "includesBooks" )
         if bookList is None: return None
         return bookList[0]
Beispiel #2
0
 def getFirstBookCode(self):
     """
     Return the BBB code for the first book
         otherwise returns None.
     """
     if 1: return BibleBookOrderSystem.getBookAtOrderPosition(self, 1)
     else:  # I think this is wrong! Should use BookOrderSystem -- see next function
         bookList = self.getOrganizationalSystemValue('includesBooks')
         if bookList is None: return None
         return bookList[0]