Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37912695
en ru br
ALT Linux repos
S:0.10.0-alt1

Group :: Development/Python3
RPM: python3-module-kmip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix-exception-using-py2-format.patch
Download


Description: Fix exception using py2 format
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2020-04-24
--- python-pykmip-0.10.0.orig/kmip/demos/pie/locate.py
+++ python-pykmip-0.10.0/kmip/demos/pie/locate.py
@@ -63,7 +63,7 @@ if __name__ == '__main__':
     for initial_date in initial_dates:
         try:
             t = time.strptime(initial_date)
-        except ValueError, TypeError:
+        except ValueError as TypeError:
             logger.error(
                 "Invalid initial date provided: {}".format(initial_date)
             )
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin