[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH] Don't add leading directory for files twice. (#503830)
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH] Don't add leading directory for files twice. (#503830)
- Date: Wed, 3 Jun 2009 13:45:21 -0400
> @@ -2798,6 +2798,9 @@ class FileDevice(StorageDevice):
> if status:
> # this is the actual active mountpoint
> root = self.parents[0].format._mountpoint
> + # trim the mountpoint down to the chroot since we already have
> + # the otherwise fully-qualified path
> + root = root[:-len(self.parents[0].format.mountpoint)]
>
> return os.path.normpath("%s/%s" % (root, path))
Why mountpoint vs. _mountpoint?
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]