예제 #1
0
 def validate(self):
     Command.validate(self)
     if not self.month:
         raise exceptions.MissingArgumentError(self.command, 'month')
     if not self.day:
         raise exceptions.MissingArgumentError(self.command, 'day')
     if not self.time:
         raise exceptions.MissingArgumentError(self.command, 'time')
 def validate(self, stdin_input=False):
     Command.validate(self)
     if not stdin_input and not self.input:
         raise exceptions.MissingArgumentError(self.command, 'input')
예제 #3
0
 def validate(self, stdin_input=False):
     Command.validate(self)
     if self.octree is None:
         raise exceptions.MissingArgumentError(self.command, 'octree')
     if not stdin_input and not self.view:
         raise exceptions.MissingArgumentError(self.command, 'view')
예제 #4
0
 def validate(self):
     Command.validate(self)
     if self.wea is None:
         raise exceptions.MissingArgumentError(self.command, 'wea')