[PATCH 2/3] Allow DiskLabelCommitError to reach the caller. (#1001586)
David Lehman
dlehman at redhat.com
Wed Sep 4 13:05:24 UTC 2013
On Wed, 2013-09-04 at 08:34 +0200, Vratislav Podzimek wrote:
> On Tue, 2013-09-03 at 14:07 -0500, David Lehman wrote:
> > ---
> > blivet/devices.py | 14 ++++++++++++++
> > 1 file changed, 14 insertions(+)
> >
> > diff --git a/blivet/devices.py b/blivet/devices.py
> > index 4877a39..5772ec4 100644
> > --- a/blivet/devices.py
> > +++ b/blivet/devices.py
> > @@ -1531,6 +1531,20 @@ class PartitionDevice(StorageDevice):
> > StorageDevice._postCreate(self)
> > self._currentSize = self.partedPartition.getSize()
> >
> > + @exclusive
> > + def create(self):
> What does the 'exclusive' decorator do and where does it come from?
Whoops. That's a relic from some other stuff I'm working on. (that's a
locking-related decorator) That part won't be included when I push. Good
catch -- thanks.
>
More information about the anaconda-patches
mailing list