diff options
Diffstat (limited to 'extras')
| -rw-r--r-- | extras/geo-rep/schedule_georep.py.in | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/geo-rep/schedule_georep.py.in b/extras/geo-rep/schedule_georep.py.in index 79af80b841a..f29ae020b8f 100644 --- a/extras/geo-rep/schedule_georep.py.in +++ b/extras/geo-rep/schedule_georep.py.in @@ -83,7 +83,7 @@ def execute(cmd, success_msg="", failure_msg="", exitcode=-1):      On success it can print message in stdout if specified.      On failure, exits after writing to stderr.      """ -    p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) +    p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)      out, err = p.communicate()      if p.returncode == 0:          if success_msg:  | 
