Exemple #1
0
    def parse_args(self, args=None, namespace=None):
        """
        Parse command line arguments and set loglevel accordingly.
        """

        result = ArgumentParser.parse_args(self, args=args, namespace=namespace)
        log.setLevel(result.verbose)
        return result
Exemple #2
0
    def parse_args(self, args=None, namespace=None):
        """
        Parse command line arguments and set loglevel accordingly.
        """

        result = ArgumentParser.parse_args(self,
                                           args=args,
                                           namespace=namespace)
        log.setLevel(result.verbose)
        return result