Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@param test: used in test_get_all
"""
self._parser = MemacsArgumentParser(
prog_version=self.__prog_version,
prog_version_date=self.__prog_version_date,
prog_description=self.__prog_description,
copyright_year=self.__copyright_year,
copyright_authors=self.__copyright_authors,
use_config_parser_name=self.__use_config_parser_name)
# adding additional arguments from our subcass
self._parser_add_arguments()
# parse all arguments
self._parser_parse_args()
# set logging configuration
handle_logging(self._args.__dict__,
self._args.verbose,
self._args.suppressmessages,
self._args.outputfile,
)
# for testing purposes it's good to see which args are secified
logging.debug("args specified:")
logging.debug(self._args)
# if an tag is specified as argument take that tag
if self._args.tag:
tag = self._args.tag
else:
tag = self.__prog_tag
#