[tor-commits] [arm/master] Fixed crash caused by mismatched keyword arg.

atagar at torproject.org atagar at torproject.org
Fri Jul 15 01:07:01 UTC 2011


commit 30f5d6fe6cf44a786bc7f4781cd403028e172026
Author: Kamran Riaz Khan <krkhan at inspirated.com>
Date:   Tue Jul 5 03:54:54 2011 +0500

    Fixed crash caused by mismatched keyword arg.
---
 src/util/torTools.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util/torTools.py b/src/util/torTools.py
index 17c54f0..7ea140b 100644
--- a/src/util/torTools.py
+++ b/src/util/torTools.py
@@ -1629,7 +1629,7 @@ class Controller(TorCtl.PostEventListener):
     if self.isAlive():
       # fetch the current network status if not provided
       if not nsList:
-        try: nsList = self.conn.get_network_status(getIterator=True)
+        try: nsList = self.conn.get_network_status(get_iterator=True)
         except (socket.error, TorCtl.TorCtlClosed, TorCtl.ErrorReply): nsList = []
       
       # construct mappings of ips to relay data





More information about the tor-commits mailing list