def validate(self, args):
        try:
            msg = "PKG_PATH '%s' does not exist" % args.pkg_path
            assert os.path.exists(args.pkg_path), msg
        except AssertionError as e:
            self._parser.error(str(e))
dataset/ETHPy150Open python-openxml/opc-diag/opcdiag/cli.py/ExtractCommand.validate/original