diff options
Diffstat (limited to 'geo-replication/syncdaemon/syncdutils.py')
| -rw-r--r-- | geo-replication/syncdaemon/syncdutils.py | 12 | 
1 files changed, 0 insertions, 12 deletions
diff --git a/geo-replication/syncdaemon/syncdutils.py b/geo-replication/syncdaemon/syncdutils.py index cbb169c6c96..fad1a3e4f76 100644 --- a/geo-replication/syncdaemon/syncdutils.py +++ b/geo-replication/syncdaemon/syncdutils.py @@ -1021,15 +1021,3 @@ def get_up_nodes(hosts, port):              up_nodes.append(h)      return up_nodes - - -def pipe(): -    # Pipe routine for python2 and python3 compatiability -    try: -        (r, w) = os.pipe() -        os.set_inheritable(r, True) -        os.set_inheritable(w, True) -    except AttributeError: -        (r, w) = os.pipe() - -    return (r, w)  | 
