def debug_recent_files(opts): from pprint import pprint from uxm.parsers.recent_files import Parser parser = Parser() data = parser.parse_bookmarks() pprint(data)
def update_bookmarks(opts, is_process=False): logger.debug('Updating bookmarks') from uxm.parsers.bookmarks import Parser parser = Parser() func = lambda: parser.parse_bookmarks() update_wrapper(func, opts, config.BOOKMARKS_CACHE)
def update_recent_files(opts, is_process=False): logger.debug('Updating recent_files') from uxm.parsers.recent_files import Parser parser = Parser() func = lambda: parser.parse_bookmarks() update_wrapper(func, opts, config.RECENT_FILES_CACHE)