summaryrefslogtreecommitdiff
path: root/python/subunit/_output.py
diff options
context:
space:
mode:
authorThomi Richards <thomi.richards@canonical.com>2013-12-09 17:28:26 +1300
committerThomi Richards <thomi.richards@canonical.com>2013-12-09 17:28:26 +1300
commite34c19254653e38a8544df6ac149bc6709a2ea19 (patch)
treef592ed15ab6a8fed7587462760a2b7f6f337fc86 /python/subunit/_output.py
parent27fd8d82b07159d03c7b306808427b703615841b (diff)
downloadsubunit-git-e34c19254653e38a8544df6ac149bc6709a2ea19.tar.gz
Allow the use of the --tag argument without specifying a test id.
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