diff options
author | David Cantrell <dcantrell@redhat.com> | 2010-05-06 10:29:49 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2010-05-06 11:27:03 -1000 |
commit | b2bda71a68768077d716fde60b19dd2134572d03 (patch) | |
tree | ad631ff4d128130c36aa39073a158643eacb33a4 /storage | |
parent | b5914d27ba6046ca4e2851fc8db0e9be1465074f (diff) | |
download | anaconda-b2bda71a68768077d716fde60b19dd2134572d03.tar.gz anaconda-b2bda71a68768077d716fde60b19dd2134572d03.tar.xz anaconda-b2bda71a68768077d716fde60b19dd2134572d03.zip |
Do not prepend /dev/disk/by-path in format DASD window
The deviceNameToDiskByPath() function returns the full link spec now
rather than just the basename.
Related: rhbz#589717
Related: rhbz#589713
Diffstat (limited to 'storage')
-rw-r--r-- | storage/dasd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/dasd.py b/storage/dasd.py index f942d5d87..8d57c1f46 100644 --- a/storage/dasd.py +++ b/storage/dasd.py @@ -125,7 +125,7 @@ class DASD: if intf and askUser: devs = '' for dasd, bypath in self._dasdlist: - devs += "/dev/disk/by-path/%s\n" % (bypath,) + devs += "%s\n" % (bypath,) rc = intf.questionInitializeDASD(c, devs) if rc == 1: @@ -164,7 +164,7 @@ class DASD: pw = intf.progressWindow(title, msg, 100, pulse=True) for dasd, bypath in self._dasdlist: - log.info("Running dasdfmt on /dev/disk/by-path/%s" % (bypath,)) + log.info("Running dasdfmt on %s" % (bypath,)) arglist = argv + ["/dev/" + dasd] try: |