Add vlogging so we can get debug from imported modules.
This commit is contained in:
parent
c8e5a53bcb
commit
5fb31208c9
1 changed files with 4 additions and 0 deletions
|
@ -16,8 +16,11 @@ from voussoirkit import pathclass
|
|||
from voussoirkit import pipeable
|
||||
from voussoirkit import safeprint
|
||||
from voussoirkit import spinal
|
||||
from voussoirkit import vlogging
|
||||
from voussoirkit import winglob
|
||||
|
||||
log = vlogging.get_logger(__name__, 'search')
|
||||
|
||||
# Thanks georg
|
||||
# http://stackoverflow.com/a/13443424
|
||||
STDIN_MODE = os.fstat(sys.stdin.fileno()).st_mode
|
||||
|
@ -259,6 +262,7 @@ def search_argparse(args):
|
|||
print('You did not supply any search terms.')
|
||||
return 1
|
||||
|
||||
@vlogging.main_decorator
|
||||
def main(argv):
|
||||
parser = argparse.ArgumentParser()
|
||||
|
||||
|
|
Loading…
Reference in a new issue