diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | instdata.py | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2006-02-12 Jeremy Katz <katzj@redhat.com> + + * instdata.py (InstallData.writeKS): Don't traceback if nfs:/// is + being used like file:///. Useful for live CD case. + 2006-02-10 Paul Nasrat <pnasrat@redhat.com> * yuminstall.py: use group.selected rather than lists diff --git a/instdata.py b/instdata.py index 74ec21279..316e7f35c 100644 --- a/instdata.py +++ b/instdata.py @@ -188,9 +188,8 @@ class InstallData: for l in lines: minfo = string.split(l) - if len(minfo) > 1 and minfo[1] == mntpt: - nfsinfo = minfo[0] - (srv, dir) = string.split(nfsinfo, ':') + if len(minfo) > 1 and minfo[1] == mntpt and minfo[0].find(":") != -1: + (srv, dir) = minfo[0].split(':') f.write("nfs --server=%s --dir=%s\n" % (srv, dir)) break |