From e34c19254653e38a8544df6ac149bc6709a2ea19 Mon Sep 17 00:00:00 2001 From: Thomi Richards Date: Mon, 9 Dec 2013 17:28:26 +1300 Subject: Allow the use of the --tag argument without specifying a test id. --- python/subunit/_output.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'python/subunit/_output.py') diff --git a/python/subunit/_output.py b/python/subunit/_output.py index 51aaa8f..14d7ad5 100644 --- a/python/subunit/_output.py +++ b/python/subunit/_output.py @@ -137,10 +137,6 @@ def parse_arguments(args=None, ParserClass=OptionParser): options.attach_file = open(options.attach_file, 'rb') except IOError as e: parser.error("Cannot open %s (%s)" % (options.attach_file, e.strerror)) - if options.tags and not options.action: - parser.error("Cannot specify --tag without a status command") - if not (options.attach_file or options.action): - parser.error("Must specify either --attach-file or a status command") return options -- cgit v1.2.1