예제 #1
0
파일: cli.py 프로젝트: sssst315/beah
 def __init__(self, cmdline):
     from beah.filters.cmdfilter import CmdFilter
     self.wait = False
     self.cmd = CmdFilter().proc_line(cmdline)
     if not self.cmd:
         print "--- ERROR: Command error."
         raise exceptions.Exception
예제 #2
0
 def __init__(self):
     self.cf = CmdFilter()
     self.wait = False
     ExtBackend.__init__(self)