diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-08 21:08:19 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-08 21:08:19 +0200 |
commit | 221a8ef05889d777ce36c4f8582ff6d62116ca2b (patch) | |
tree | 58cd45403e2b8f41977b64c2fc1970d33bbfca33 /python | |
parent | ad0dc27337d7207ae7eb7d3e063a32132cb9a08c (diff) | |
download | refcat-221a8ef05889d777ce36c4f8582ff6d62116ca2b.tar.gz refcat-221a8ef05889d777ce36c4f8582ff6d62116ca2b.zip |
cli: cleanup
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/cli.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/python/refcat/cli.py b/python/refcat/cli.py index ac308b7..2aff453 100644 --- a/python/refcat/cli.py +++ b/python/refcat/cli.py @@ -77,9 +77,9 @@ def files(): for name in names: klass = Register.get_task_cls(name) try: - print("{:30s}{}".format(name, klass().output().path)) + print("{:40s}{}".format(name, klass().output().path)) except AttributeError: - print("{:30s}".format(name)) + print("{:40s}".format(name)) def cat(*args): @@ -138,8 +138,6 @@ def deps(*args): """ if len(args) == 0: raise ValueError("deps failed: task name required") - # task_class = find_task_class(args[0]) - # dump_deps(task_class()) parser = CmdlineParser(sys.argv[2:]) obj = parser.get_task_obj() dump_deps(obj) |