diff options
author | Matt Wilson <msw@redhat.com> | 2001-03-09 17:47:45 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-03-09 17:47:45 +0000 |
commit | 30ee0ba9fcc2d54bc32e8981c453335abd09d031 (patch) | |
tree | 26399b6387081eaef315277c43a5048f8af192ff /upgrade.py | |
parent | 9d636f94391c43b1e14377c445b40813a6dd1721 (diff) | |
download | anaconda-30ee0ba9fcc2d54bc32e8981c453335abd09d031.tar.gz anaconda-30ee0ba9fcc2d54bc32e8981c453335abd09d031.tar.xz anaconda-30ee0ba9fcc2d54bc32e8981c453335abd09d031.zip |
make the default prefix a string, not None (you can't add None to a string type at the bottom of the function
Diffstat (limited to 'upgrade.py')
-rw-r--r-- | upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py index 0f55c4c98..4ae86fb87 100644 --- a/upgrade.py +++ b/upgrade.py @@ -151,7 +151,7 @@ def swapSuggestion(instPath, fstab): def createSwapFile(instPath, theFstab, mntPoint, size, progressWindow): fstabPath = instPath + "/etc/fstab" - prefix = None + prefix = "" if theFstab.rootOnLoop(): instPath = "/mnt/loophost" prefix = "/initrd/loopfs" |