From 272391e3db0c880145ebdeceaddcc2a658acc419 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Fri, 21 Dec 2012 13:29:04 +0000 Subject: [PATCH] Fixed autocompile bug when using GUI Error was: if seen_key in self.seen: TypeError: argument of type 'NoneType' is not iterable Reported by Dave Abrahams. --- autocompile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autocompile.py b/autocompile.py index 0461dfe..d2685d7 100644 --- a/autocompile.py +++ b/autocompile.py @@ -502,6 +502,7 @@ class GTKAutoCompiler(AutoCompiler): self.overall.insert_at_end_and_scroll(msg + '\n', 'error') def build(self): + self.seen = {} import gtk try: tasks.wait_for_blocker(self.recursive_build(self.iface_uri)) -- 2.11.4.GIT