diff options
author | Marcus Müller <marcus@hostalia.de> | 2019-04-22 15:03:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-22 15:03:45 +0200 |
commit | 72aa97daab609f907ba10b6f56b25e124945ba5a (patch) | |
tree | ad4428bf72f3a5a853c3fd9ae5b9fe376a594daa | |
parent | 29951fb3bab83e46c83f2664e2d55f6f2bff21fb (diff) | |
parent | 5c10431bf73c1e3981fad07ae0074768cdc1dbf2 (diff) |
grc: Squelch debug messages
-rw-r--r-- | grc/converter/main.py | 2 | ||||
-rw-r--r-- | grc/core/cache.py | 2 | ||||
-rw-r--r-- | grc/gui/Bars.py | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/grc/converter/main.py b/grc/converter/main.py index 5a18471fc7..171f98341b 100644 --- a/grc/converter/main.py +++ b/grc/converter/main.py @@ -90,7 +90,7 @@ class Converter(object): need_cache_write = True if need_cache_write: - logger.info('Saving %d entries to json cache', len(self.cache)) + logger.debug('Saving %d entries to json cache', len(self.cache)) with open(self.cache_file, 'w', encoding='utf-8') as cache_file: json.dump(self.cache, cache_file) diff --git a/grc/core/cache.py b/grc/core/cache.py index dd85bf9806..a175cce924 100644 --- a/grc/core/cache.py +++ b/grc/core/cache.py @@ -72,7 +72,7 @@ class Cache(object): if not self.need_cache_write: return - logger.info('Saving %d entries to json cache', len(self.cache)) + logger.debug('Saving %d entries to json cache', len(self.cache)) # Dumping to binary file is only supported for Python3 >= 3.6 with open(self.cache_file, 'w', encoding='utf8') as cache_file: cache_file.write(json.dumps(self.cache, ensure_ascii=False)) diff --git a/grc/gui/Bars.py b/grc/gui/Bars.py index 9f5049a89b..6fde43a4d2 100644 --- a/grc/gui/Bars.py +++ b/grc/gui/Bars.py @@ -129,7 +129,6 @@ class SubMenuHelper(object): def refresh_submenus(self): for name in self.submenus: create_func, obj, set_func = self.submenus[name] - print ("refresh", create_func, obj, set_func) set_func(obj, create_func()) def create_flow_graph_new_type(self): |