diff options
Diffstat (limited to 'geo-replication')
| -rw-r--r-- | geo-replication/src/peer_georep-sshkey.py.in | 2 | ||||
| -rw-r--r-- | geo-replication/src/peer_mountbroker.in | 3 | ||||
| -rw-r--r-- | geo-replication/src/peer_mountbroker.py.in | 2 | ||||
| -rw-r--r-- | geo-replication/syncdaemon/changelogagent.py | 2 | ||||
| -rw-r--r-- | geo-replication/syncdaemon/conf.py.in | 1 | ||||
| -rw-r--r-- | geo-replication/syncdaemon/gsyncd.py | 2 | ||||
| -rw-r--r-- | geo-replication/syncdaemon/gsyncdstatus.py | 2 | ||||
| -rw-r--r-- | geo-replication/tests/__init__.py | 2 | ||||
| -rw-r--r-- | geo-replication/tests/unit/__init__.py | 2 | ||||
| -rw-r--r-- | geo-replication/tests/unit/test_gsyncdstatus.py | 2 | ||||
| -rw-r--r-- | geo-replication/tests/unit/test_syncdutils.py | 2 | 
11 files changed, 12 insertions, 10 deletions
diff --git a/geo-replication/src/peer_georep-sshkey.py.in b/geo-replication/src/peer_georep-sshkey.py.in index 400f29d64f3..c35865db224 100644 --- a/geo-replication/src/peer_georep-sshkey.py.in +++ b/geo-replication/src/peer_georep-sshkey.py.in @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  # -*- coding: utf-8 -*-  #  #  Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com> diff --git a/geo-replication/src/peer_mountbroker.in b/geo-replication/src/peer_mountbroker.in index ec514f038e1..89bb0c0ba6f 100644 --- a/geo-replication/src/peer_mountbroker.in +++ b/geo-replication/src/peer_mountbroker.in @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/python2 +  import os  from argparse import ArgumentParser, RawDescriptionHelpFormatter  import json diff --git a/geo-replication/src/peer_mountbroker.py.in b/geo-replication/src/peer_mountbroker.py.in index be182c5a7de..8f2367b7d49 100644 --- a/geo-replication/src/peer_mountbroker.py.in +++ b/geo-replication/src/peer_mountbroker.py.in @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  import os  from errno import EEXIST, ENOENT diff --git a/geo-replication/syncdaemon/changelogagent.py b/geo-replication/syncdaemon/changelogagent.py index 4fb8d254dea..5eade137d25 100644 --- a/geo-replication/syncdaemon/changelogagent.py +++ b/geo-replication/syncdaemon/changelogagent.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  #  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>  # This file is part of GlusterFS. diff --git a/geo-replication/syncdaemon/conf.py.in b/geo-replication/syncdaemon/conf.py.in index 2042fa9cdfb..5846b9b5f26 100644 --- a/geo-replication/syncdaemon/conf.py.in +++ b/geo-replication/syncdaemon/conf.py.in @@ -1,3 +1,4 @@ +#!/usr/bin/python2  #  # Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>  # This file is part of GlusterFS. diff --git a/geo-replication/syncdaemon/gsyncd.py b/geo-replication/syncdaemon/gsyncd.py index 3458898646e..1ab65877467 100644 --- a/geo-replication/syncdaemon/gsyncd.py +++ b/geo-replication/syncdaemon/gsyncd.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python2  from argparse import ArgumentParser  import time  import os diff --git a/geo-replication/syncdaemon/gsyncdstatus.py b/geo-replication/syncdaemon/gsyncdstatus.py index 1df24330438..b1fed727cbe 100644 --- a/geo-replication/syncdaemon/gsyncdstatus.py +++ b/geo-replication/syncdaemon/gsyncdstatus.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  #  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>  # This file is part of GlusterFS. diff --git a/geo-replication/tests/__init__.py b/geo-replication/tests/__init__.py index 23adbfa5171..13065ca3d3c 100644 --- a/geo-replication/tests/__init__.py +++ b/geo-replication/tests/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  #  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>  # This file is part of GlusterFS. diff --git a/geo-replication/tests/unit/__init__.py b/geo-replication/tests/unit/__init__.py index 23adbfa5171..13065ca3d3c 100644 --- a/geo-replication/tests/unit/__init__.py +++ b/geo-replication/tests/unit/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  #  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>  # This file is part of GlusterFS. diff --git a/geo-replication/tests/unit/test_gsyncdstatus.py b/geo-replication/tests/unit/test_gsyncdstatus.py index a65d659e356..b4ce8fa053b 100644 --- a/geo-replication/tests/unit/test_gsyncdstatus.py +++ b/geo-replication/tests/unit/test_gsyncdstatus.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  #  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>  # This file is part of GlusterFS. diff --git a/geo-replication/tests/unit/test_syncdutils.py b/geo-replication/tests/unit/test_syncdutils.py index 736ae274b85..fe439a50b38 100644 --- a/geo-replication/tests/unit/test_syncdutils.py +++ b/geo-replication/tests/unit/test_syncdutils.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2  #  # Copyright (c) 2011-2014 Red Hat, Inc. <http://www.redhat.com>  # This file is part of GlusterFS.  | 
