diff options
author | Kotresh HR <khiremat@redhat.com> | 2018-10-29 17:55:28 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-10-30 13:12:46 +0000 |
commit | 33e96100e17e9a293db6d63d9d5449d6c2d69376 (patch) | |
tree | 494177883df12bfed66d9f13ec91d5f98203f41d /geo-replication | |
parent | 6cc573631df28eb357ffb006d1dbfe1bfd60aeba (diff) |
georep: python2 to python3 compat - scheduler
1. scheduler - Popen
2. syncdutils - corner case on failure
fixes: bz#1643932
Change-Id: I65af97a244a8790e976acedc2728db6ebbf2ae10
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'geo-replication')
-rw-r--r-- | geo-replication/syncdaemon/syncdutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/syncdutils.py b/geo-replication/syncdaemon/syncdutils.py index fad1a3e4f76..fd96ca70b2f 100644 --- a/geo-replication/syncdaemon/syncdutils.py +++ b/geo-replication/syncdaemon/syncdutils.py @@ -847,7 +847,7 @@ class Popen(subprocess.Popen): break b = os.read(self.stderr.fileno(), 1024) if b: - elines.append(b) + elines.append(b.decode()) else: break self.stderr.close() |