This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch master
in repository lib389.
commit 2da336695567e85f9ee25c46dc3d131af426de70
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Mon Apr 24 16:02:37 2017 -0400
Issue 25 - Fix RUV __repr__ function
Description: This function never worked and had the wrong parenthesis grouping
https://pagure.io/lib389/issue/25
Reviewed by: firstyear(Thanks!)
---
lib389/_replication.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib389/_replication.py b/lib389/_replication.py
index e84a47a..7d51577 100644
--- a/lib389/_replication.py
+++ b/lib389/_replication.py
@@ -84,10 +84,8 @@ class CSN(object):
return retstr
def __repr__(self):
- return time.strftime("%x %X",
- (time.localtime(self.ts)) +
- " seq: " + str(self.seq) + " rid: " +
- str(self.rid))
+ return ("%s seq: %s rid: %s" % (time.strftime("%x %X",
time.localtime(self.ts)),
+ str(self.seq), str(self.rid)))
def __str__(self):
return self.__repr__()
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.