From 8c63deea651dfa38de89fcb5b011d77afa938d23 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 2 Aug 2013 16:03:00 -0700 Subject: [PATCH] _argparse: add ArgumentParser.error() --- pym/portage/util/_argparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/portage/util/_argparse.py b/pym/portage/util/_argparse.py index a44afed7b..2f915dc55 100644 --- a/pym/portage/util/_argparse.py +++ b/pym/portage/util/_argparse.py @@ -19,6 +19,7 @@ except ImportError: self.add_argument = parser.add_option self.parse_known_args = parser.parse_args self.parse_args = parser.parse_args + self.error = parser.error def add_argument_group(self, title=None, **kwargs): optiongroup = OptionGroup(self._parser, title, **kwargs) -- 2.26.2