# define a verbose option with s/t like
# parser.add_option("-v", "--verbose", action="count", dest="verbose", default=0)
# and pass the coresponding options.verbose to this method to adjust level
# define a verbose option with s/t like
# parser.add_option("-v", "--verbose", action="count", dest="verbose", default=0)
# and pass the coresponding options.verbose to this method to adjust level
# in case some other code needs a boolean
def getBoolVerboseFromOpt(self,verbose):
return verbose>=1
# in case some other code needs a boolean
def getBoolVerboseFromOpt(self,verbose):
return verbose>=1