From 719462726206904f3cc829d9b02837215cd9f3db Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Thu, 18 Mar 2010 22:39:58 +0000 Subject: [PATCH] fix indentation to use spaces, not tabs. Commit the actual file, not the generated one. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1552 e5f2f494-b856-4b98-b285-d166d9295462 --- src/bin/bind10/bind10.py.in | 1 + src/lib/python/isc/cc/session.py | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/bin/bind10/bind10.py.in b/src/bin/bind10/bind10.py.in index babd339f5..579cae6ed 100644 --- a/src/bin/bind10/bind10.py.in +++ b/src/bin/bind10/bind10.py.in @@ -118,6 +118,7 @@ class ProcessInfo: spawn_env['PYTHON_EXEC'] = os.environ['PYTHON_EXEC'] if 'PYTHONPATH' in os.environ: spawn_env['PYTHONPATH'] = os.environ['PYTHONPATH'] + spawn_env['ISC_MSGQ_PORT'] = self.c_channel_port self.process = subprocess.Popen(self.args, stdin=subprocess.PIPE, stdout=spawn_stdout, diff --git a/src/lib/python/isc/cc/session.py b/src/lib/python/isc/cc/session.py index 667d2a492..3bd99581f 100644 --- a/src/lib/python/isc/cc/session.py +++ b/src/lib/python/isc/cc/session.py @@ -35,10 +35,10 @@ class Session: self._queue = [] if port == 0: - if 'B10_FROM_SOURCE' in os.environ: - port = int(os.environ["ISC_MSGQ_PORT"]) - else: - port = 9912 + if 'B10_FROM_SOURCE' in os.environ: + port = int(os.environ["ISC_MSGQ_PORT"]) + else: + port = 9912 try: self._socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) -- GitLab