Skip to content
Snippets Groups Projects
Commit abaa11b5 authored by Seblu's avatar Seblu
Browse files

handle EOF in command

parent 0b95c2ba
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,8 @@ class Cli(object):
self.printer.warn("%s: %s"%(argv[0], str(e)))
except cmdError as e:
self.printer.error("%s: %s"%(argv[0], str(e)))
except EOFError:
self.printer.out("")
except Exception as e:
if cccli.debug:
raise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment