[PATCH 2/3] Allow DiskLabelCommitError to reach the caller. (#1001586)

Vratislav Podzimek vpodzime at redhat.com
Wed Sep 4 06:34:17 UTC 2013


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?

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list