From: Ludovic R. <lud...@gm...> - 2010-06-11 16:35:50
|
2010/6/11 jean daniel aussel <jda...@gm...>: > Hi Ludovic, > > just committed the following: > > def __checksyncbyte__(self): > """Check validity of TS.""" > if not 0x3b == self.bytes[0] and not 0x03f == self.bytes[0]: > raise SmartcardException( 'invalid TS' + " 0x%-0.2x" % > self.bytes[0] ) Great. I just changed the code to make it more PEP8 compliant :-) I guess a new version of pyscard will not be available before some months. I will backport the patch and release a new version of the Debian package. Bye -- Dr. Ludovic Rousseau |