mirror of
https://github.com/gnuradio/gnuradio-companion.git
synced 2025-12-11 13:54:07 -06:00
grc: Squelch more debug messages.
This commit is contained in:
parent
66c5853514
commit
d928a31bd4
@ -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)
|
||||
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user