[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [fog/master] removed exempt env list from pt_child_env.
commit 73869805c63e3d915c7326809529d25f855b6d5b
Author: Quinn Jarrell <qjarrell@xxxxxxxxxxxxxxx>
Date: Thu Jul 24 13:16:10 2014 -0400
removed exempt env list from pt_child_env.
---
fog-client/fog-client | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fog-client/fog-client b/fog-client/fog-client
index c59efc3..808504c 100755
--- a/fog-client/fog-client
+++ b/fog-client/fog-client
@@ -44,11 +44,10 @@ def pt_setup_logger():
def pt_child_env(managed_ver, env=os.environ):
"""
Prepare the environment for a child PT process, by clearing all TOR_PT_*
- envvars except TOR_PT_STATE_LOCATION and TOR_PT_MANAGED_TRANSPORT_VER.
+ envvars and TOR_PT_MANAGED_TRANSPORT_VER.
"""
- exempt = ['TOR_PT_STATE_LOCATION']
cur_env = [(k, v) for k, v in env.iteritems()
- if not k.startswith('TOR_PT_') or k in exempt]
+ if not k.startswith('TOR_PT_')]
if 'TOR_PT_STATE_LOCATION' in env:
prev_pt_state_location = env['TOR_PT_STATE_LOCATION']
cur_env.append(('TOR_PT_STATE_LOCATION', os.path.join(prev_pt_state_location, 'fog')))
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits