'Sets the module\'s verbosity, and returns the previous setting.'

def SetVerboseLevel(self, level):

    last_verbose_level = self.verbose_level
    self.verbose_level = level
    return last_verbose_level
