autopart - Inherit error checking from base class
---
pykickstart/commands/autopart.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pykickstart/commands/autopart.py b/pykickstart/commands/autopart.py
index cf28b5c..3ea3a16 100644
--- a/pykickstart/commands/autopart.py
+++ b/pykickstart/commands/autopart.py
@@ -83,8 +83,10 @@ class F9_AutoPart(FC3_AutoPart):
def parse(self, args):
(opts, extra) = self.op.parse_args(args=args, lineno=self.lineno)
+ # Rely on any error handling from baseclass
+ FC3_AutoPart.parse(self, extra)
+
self._setToSelf(self.op, opts)
- self.autopart = True
return self
class F12_AutoPart(F9_AutoPart):
--
1.7.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|