← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 259: update exception message when the index ayas count is not exact

 

------------------------------------------------------------
revno: 259
git commit: d39ac419c305c59db24ab30ec5cc20db4668b60b
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Wed 2012-06-13 13:30:38 +0100
message:
  update exception message when the index ayas count is not exact 
modified:
  src/alfanous/Indexing.py


--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git

Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'src/alfanous/Indexing.py'
--- src/alfanous/Indexing.py	2012-06-01 03:38:52 +0000
+++ src/alfanous/Indexing.py	2012-06-13 12:30:38 +0000
@@ -140,7 +140,7 @@
         if self.OK:
             nb = len( self )
             if nb != 6236 :
-                raise Ta7rif( "number of ayas wrong", value = nb, original = 6236, msg = "you must update your index" )
+                raise Ta7rif( "Ayas count is not exact", value = nb, original = 6236, msg = "you must update your indexes" )
         return nb