From 676b9d2e3ecd7613ecac13a7ff8ad30af33a81c4 Mon Sep 17 00:00:00 2001 From: Anna Date: Mon, 21 Jun 2010 15:11:42 -0400 Subject: [PATCH] Moved initialization to avoid race condition --- hrafn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hrafn.py b/hrafn.py index 77c2a27..a8d1f9a 100755 --- a/hrafn.py +++ b/hrafn.py @@ -18,6 +18,9 @@ class Hrafn(): self.resize = resize + self.lists = {} + self.lists_cond = Condition() + config = ConfigParser.ConfigParser() config.read(os.path.expanduser(config_file)) @@ -81,9 +84,6 @@ class Hrafn(): self.reply_id = None - self.lists = {} - self.lists_cond = Condition() - # Load up all the programmatic GUI stuff self.init_widgets()