From f978b75c7c82ef319435bcba507300b5024eadce Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 12 Sep 2007 20:37:51 +0000 Subject: [PATCH] * Changed unnecessary string into optional (debug mode). --- src/controllers/c_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/c_config.py b/src/controllers/c_config.py index 6e1cb0c..da2ba98 100644 --- a/src/controllers/c_config.py +++ b/src/controllers/c_config.py @@ -115,7 +115,8 @@ class ConfigController(Controller): response = dialog.run() if response == gtk.RESPONSE_OK: - print dialog.get_filename() + if __debug__: + print "c_config.py: __show_filechooser()", dialog.get_filename() self.view['ejt_entry'].set_text(dialog.get_filename()) dialog.destroy()