This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository lib389.
commit bca9bd26768fc7b72361f15eb3fb7b3800c598b0
Author: William Brown <firstyear@redhat.com>
Date: Wed May 10 16:23:10 2017 +1000
Ticket 29 - fix incorrect format in tools
Bug Description: Can not concat str and int
Fix Description: change error to use string formatting
https://pagure.io/lib389/issue/29
Author: wibrown
Review by: mreynolds (Thanks!)
---
lib389/tools.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib389/tools.py b/lib389/tools.py
index 51de689..edb95b1 100644
--- a/lib389/tools.py
+++ b/lib389/tools.py
@@ -948,8 +948,8 @@ class DirSrvTools(object):
process.stdin.close()
process.wait()
if process.returncode != 0:
- log.fatal('runUpgrade failed! Error: ' + process.returncode)
- assert False
+ log.fatal('runUpgrade failed! Error: %s ' % process.returncode)
+ assert(False)
except:
log.fatal('runUpgrade failed!')
raise
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
No comments:
Post a Comment