From 6081909a261dd25a2cdc1b6d648cdcbf9b5038ad Mon Sep 17 00:00:00 2001 From: Alexander Cherniuk Date: Mon, 29 Mar 2010 17:15:32 +0300 Subject: [PATCH] Fixed out-of-scope variables. Might need a better fix. Fixes #5680 --- src/disco.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/disco.py b/src/disco.py index 4bb7fb73e..37d91d93b 100644 --- a/src/disco.py +++ b/src/disco.py @@ -1671,6 +1671,7 @@ class ToplevelAgentBrowser(AgentBrowser): # Search for an icon and category we can display pix = self.cache.get_icon(identities) + cat, type_ = None, None for identity in identities: try: cat, type_ = identity['category'], identity['type']