[arm/master] Fixing NameError when rendering fingerprints

commit 2a26211499e801c8153c9d80546cdd2d62752949 Author: Damian Johnson <atagar@torproject.org> Date: Fri Jan 18 23:00:43 2013 -0800 Fixing NameError when rendering fingerprints Fixing another stacktrace spotted by gsathya... https://trac.torproject.org/7990 --- src/cli/connections/connPanel.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/cli/connections/connPanel.py b/src/cli/connections/connPanel.py index b55b937..146c3f9 100644 --- a/src/cli/connections/connPanel.py +++ b/src/cli/connections/connPanel.py @@ -183,7 +183,7 @@ class ConnectionPanel(panel.Panel, threading.Thread): self.valsLock.acquire() armConf = conf.get_config("arm") - armConf.set("features.connection.listingType", enumeration.keys()[Listing.index_of(listingType)]) + armConf.set("features.connection.listingType", listingType.keys()[Listing.index_of(listingType)]) # if we're sorting by the listing then we need to resort if entries.SortAttr.LISTING in CONFIG["features.connection.order"]:
participants (1)
-
atagar@torproject.org