[or-cvs] minor semantic change: tuple rather than list
Geoffrey Goodell
goodell at seul.org
Tue Nov 15 20:37:44 UTC 2005
Update of /home/or/cvsroot/control/python
In directory moria:/tmp/cvs-serv24622
Modified Files:
TorCtl1.py
Log Message:
minor semantic change: tuple rather than list
Index: TorCtl1.py
===================================================================
RCS file: /home/or/cvsroot/control/python/TorCtl1.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- TorCtl1.py 15 Nov 2005 20:34:01 -0000 1.10
+++ TorCtl1.py 15 Nov 2005 20:37:42 -0000 1.11
@@ -253,7 +253,7 @@
def set_option(self, key, value):
"""Set the value of the configuration option 'key' to the value 'value'.
"""
- self.set_options([[key, value]])
+ self.set_options([(key, value)])
def set_options(self, kvlist):
"""Given a list of (key,value) pairs, set them as configuration
More information about the tor-commits
mailing list