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
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)
)