[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r15446: For backwards compatibility, gave a default value to the res (torflow/branches/gsoc2008/TorCtl)
Author: fallon
Date: 2008-06-24 05:01:00 -0400 (Tue, 24 Jun 2008)
New Revision: 15446
Modified:
torflow/branches/gsoc2008/TorCtl/PathSupport.py
Log:
For backwards compatibility, gave a default value to the restrict_guards constructor argument in SelectionManager. Note that geoip is still the last argument to the constructor for Selectionmanager.
Modified: torflow/branches/gsoc2008/TorCtl/PathSupport.py
===================================================================
--- torflow/branches/gsoc2008/TorCtl/PathSupport.py 2008-06-24 08:51:37 UTC (rev 15445)
+++ torflow/branches/gsoc2008/TorCtl/PathSupport.py 2008-06-24 09:01:00 UTC (rev 15446)
@@ -726,7 +726,7 @@
"""
def __init__(self, pathlen, order_exits,
percent_fast, percent_skip, min_bw, use_all_exits,
- uniform, use_exit, use_guards,restrict_guards, geoip_config=None):
+ uniform, use_exit, use_guards,restrict_guards=False, geoip_config=None):
self.__ordered_exit_gen = None
self.pathlen = pathlen
self.order_exits = order_exits