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 KDE

 
 
LinkBack Thread Tools
 
Old 05-07-2010, 11:49 PM
David Cantrell
 
Default Fix usage of deviceNameToDiskByPath in devicetree.py (#589967)

Account for the recent changes in deviceNameToDiskByPath().
---
storage/devicetree.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 1ed73c1..c171968 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1357,10 +1357,12 @@ class DeviceTree(object):
initcb = lambda: True
else:
description = device.description or device.model
- bypath = os.path.basename(deviceNameToDiskByPath(device.nam e))
+ bypath = deviceNameToDiskByPath(device.name)
if bypath:
+ bypath = os.path.basename(bypath)
details = "

Device details:
%s" % (bypath,)
else:
+ bypath = device.name
details = ""

initcb = lambda: self.intf.questionInitializeDisk(bypath,
--
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-08-2010, 12:18 AM
"Brian C. Lane"
 
Default Fix usage of deviceNameToDiskByPath in devicetree.py (#589967)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/07/2010 04:49 PM, David Cantrell wrote:
> Account for the recent changes in deviceNameToDiskByPath().

Ack

- --
Brian C. Lane <bcl@redhat.com>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS+StyBF+jBaO/jp/AQIowAgAnzrOfoNfewXrE7waBEiS421442AxJCgx
DohYCfYNdAnne70zJg8vB7mkmmD3mJxJLrII76Rntx75WqHttZ/RTOBqC1AjbDGZ
3PCMct4fvahGdKmHXjVvuQckk+YQfGQHNCEHm1aBDGF+2tZsJw D7O6d0bLyny/+A
GpiLqiDKxNw/4UrSD+A3A4eujvkwqPV/asl5Efp4sMEgoVy0QDnu3p33r9lFwqNZ
dKMwHBPz7K1Y77ZesyuYBSiQo9uqx5GQbP4UoHGdW7Ftp/+GGDnP+6pqhj564Kls
k6j7Pm1A3PAoME11VMAADP9FvrIlLtJkxWYneQ7wnWxCWjtAF2 OMrA==
=vkow
-----END PGP SIGNATURE-----

_______________________________________________
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 12:54 AM.

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