DateParserDisplayTest.py is a debug tool but runs always, only run when debug

svn: r12156
This commit is contained in:
Benny Malengier 2009-02-28 09:18:53 +00:00
parent e8350eaa88
commit 7b809aefda

View File

@ -229,6 +229,7 @@ class DateParserDisplayTest(Tool.Tool):
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
if __debug__:
pmgr = PluginManager.get_instance() pmgr = PluginManager.get_instance()
pmgr.register_tool( pmgr.register_tool(
name = 'test_for_date_parser_and_displayer', name = 'test_for_date_parser_and_displayer',