New: [rhinstaller/blivet/pulls/94 master] Move definition of _level attribute above super-constructor call.

mulkieran installerbot-noreply at redhat.com
Thu Apr 23 21:47:00 UTC 2015


The basic problem is that level is a very important concept for md
so a lot of log messages log this information. Some of these
log messages are executed as a result of running the parent constructor.
The particular problem I saw is that self.updateSize() is called by
StorageDevice.__init__, which understandably logs the size,
and the size() methods logs its result, along with the level, leading to
an AttributeError. Now there will be no AttributeError, but the RAID
level will be displayed as None when this happens.

Signed-off-by: mulhern <amulhern at redhat.com>
-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/94


More information about the anaconda-patches mailing list