debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner

This commit is contained in:
Dave Halter committed 2014-01-13 16:16:07 +01:00
1 parent 157f76a55d
commit 682e1c2708
13 files changed
+58 -65

No files matched your search

+1 -1
View File
@@ -257,7 +257,7 @@ class ParserPickling(object):
finally:
gc.enable()
debug.dbg('pickle loaded', path)
debug.dbg('pickle loaded: %s', path)
parser_cache[path] = parser_cache_item
return parser_cache_item.parser