FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 08-22-2011, 02:49 PM
James Laska
 
Default 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
 

Thread Tools




All times are GMT. The time now is 07:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org