no wildcards in sea client
This commit is contained in:
parent
7ea4de02b4
commit
b436eee810
@ -65,6 +65,8 @@ class SeaManager(ServiceManager):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def do_cli(self, ins):
|
def do_cli(self, ins):
|
||||||
|
if self.wildcard(ins):
|
||||||
|
raise UsageError('wildcards not allowed in sea cli')
|
||||||
try:
|
try:
|
||||||
self.check_running(ins, 'sea')
|
self.check_running(ins, 'sea')
|
||||||
except ServiceDown as e:
|
except ServiceDown as e:
|
||||||
@ -75,6 +77,8 @@ class SeaManager(ServiceManager):
|
|||||||
run_command('six -sea %s' % ins, wait=True)
|
run_command('six -sea %s' % ins, wait=True)
|
||||||
|
|
||||||
def do_gui(self, ins='', *args):
|
def do_gui(self, ins='', *args):
|
||||||
|
if ins and self.wildcard(ins):
|
||||||
|
raise UsageError('wildcards not allowed in sea gui')
|
||||||
if ins:
|
if ins:
|
||||||
args = (ins,) + args
|
args = (ins,) + args
|
||||||
if '-q' not in args:
|
if '-q' not in args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user