Commit 71946272 authored by Michael Graff's avatar Michael Graff

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
parent b56d1bc5
......@@ -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,
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment