diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2005-11-15 02:16:10 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2005-11-15 02:16:10 +0000 |
commit | 7285804934940a5a53356be539c9c9db80eccba9 (patch) | |
tree | 12d405279a0088f31cbab2d2b1f0f684fc8d1e9d /image.py | |
parent | de8d7567dc58490d8783d628ac0b0c4cc1c0be55 (diff) | |
download | anaconda-7285804934940a5a53356be539c9c9db80eccba9.tar.gz anaconda-7285804934940a5a53356be539c9c9db80eccba9.tar.xz anaconda-7285804934940a5a53356be539c9c9db80eccba9.zip |
getMethodUri applies to all image methods
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -108,6 +108,9 @@ class ImageInstallMethod(InstallMethod): def getSourcePath(self): return self.tree + def getMethodUri(self): + return "file://%s" % (self.tree,) + def copyFileToTemp(self, filename): tmppath = self.getTempPath() path = tmppath + os.path.basename(filename) @@ -398,8 +401,6 @@ class NfsInstallMethod(ImageInstallMethod): tree = method[5:] ImageInstallMethod.__init__(self, tree, rootPath, intf) - def getMethodUri(self): - return "file://%s" % (self.tree,) def getDiscNums(line): # get the disc numbers for this disc |