]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
lock.py: allow machines list for --brief 452/head
authorDan Mick <dan.mick@redhat.com>
Thu, 19 Mar 2015 18:47:29 +0000 (11:47 -0700)
committerDan Mick <dan.mick@redhat.com>
Thu, 19 Mar 2015 18:47:29 +0000 (11:47 -0700)
There was never any reason not to.

Fixes: #11167
Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/lock.py

index 0ac26c323774e424fbc8a4641c428081ab0a34ee..8c2ae86e90cdfe7834eb03329f30a91f7a35a718 100644 (file)
@@ -150,7 +150,7 @@ def main(ctx):
             '-f is only supported by --lock and --unlock'
     if machines:
         assert ctx.lock or ctx.unlock or ctx.list or ctx.list_targets \
-            or ctx.update, \
+            or ctx.update or ctx.brief, \
             'machines cannot be specified with that operation'
     else:
         assert ctx.num_to_lock or ctx.list or ctx.list_targets or \