[Pcsclite-cvs-commit] r5067 - /website/matrix.py

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Jul 9 20:06:29 UTC 2010


Author: rousseau
Date: Fri Jul  9 20:06:03 2010
New Revision: 5067

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5067
Log:
print a message instead of raising an exception if a reader is not found
in the ChangeLog file

Modified:
    website/matrix.py

Modified: website/matrix.py
URL: http://svn.debian.org/wsvn/pcsclite/website/matrix.py?rev=5067&op=diff
==============================================================================
--- website/matrix.py (original)
+++ website/matrix.py Fri Jul  9 20:06:03 2010
@@ -247,7 +247,10 @@
             # revision is the inner matching pattern
             return int(result.group(1))
     else:
-        raise Exception("reader %s not found in log" % reader)
+        print "reader %s not found in ChangeLog" % reader
+        # fake SVN revision number high enough to be considered as
+        # unreleased
+        return 999999999
 
 
 def get_by_manufacturer(readers):




More information about the Pcsclite-cvs-commit mailing list