Beispiel #1
0
   def verify(self):

      verified = Ccp_Script_Args.verify(self)

      if ((self.cli_opts.bridge_levels[0] < byway.One.z_level_min)
          or (self.cli_opts.bridge_levels[1] > byway.One.z_level_max)):
         log.error('Please specify bridge levels between %d and %d, inclusive.'
                   % (byway.One.z_level_min, byway.One.z_level_max,))
         verified = False
         self.handled = True

      return verified
 def verify(self):
    verified = Ccp_Script_Args.verify(self)