summaryrefslogtreecommitdiff
path: root/python/subunit/_output.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/subunit/_output.py')
-rw-r--r--python/subunit/_output.py4
1 files changed, 0 insertions, 4 deletions
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