From 3891fe56385b323b435392aadb3f55848ee30857 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 19 Apr 2015 18:04:27 +1200 Subject: Refactor pathoc We're getting ready for websockets. All the output specifiers are now on the Pathoc object itself - we can't assume that all input and output happens in response to a method call any more. This has the upside that we can unify the request/print_request methods. --- libpathod/cmdline.py | 1 - 1 file changed, 1 deletion(-) (limited to 'libpathod/cmdline.py') diff --git a/libpathod/cmdline.py b/libpathod/cmdline.py index a3b92649..3323716c 100644 --- a/libpathod/cmdline.py +++ b/libpathod/cmdline.py @@ -379,7 +379,6 @@ def args_pathod(argv, stdout=sys.stdout, stderr=sys.stderr): if os.path.isfile(spec): data = open(spec).read() spec = data - try: req = language.parse_response(spec) except language.ParseException, v: -- cgit v1.2.3