summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-04-30 21:50:52 +0000
committerErik Troan <ewt@redhat.com>1999-04-30 21:50:52 +0000
commitca15edceb8597ba2343bfc81d44df0a433af9578 (patch)
tree1aef95efa3c9ec222ac7aaba3ab0dcde8d26b6cd /image.py
parent6bc3dfe1a1a4ec88e052a4649fee923017763aa5 (diff)
downloadanaconda-ca15edceb8597ba2343bfc81d44df0a433af9578.tar.gz
anaconda-ca15edceb8597ba2343bfc81d44df0a433af9578.tar.xz
anaconda-ca15edceb8597ba2343bfc81d44df0a433af9578.zip
move filename generation to method
Diffstat (limited to 'image.py')
-rw-r--r--image.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/image.py b/image.py
index 426c2deb0..8177e4363 100644
--- a/image.py
+++ b/image.py
@@ -4,6 +4,9 @@ import rpm
class InstallMethod:
+ def getFilename(self, h):
+ return self.tree + "/" + "RedHat/RPMS/" + h[1000000]
+
def readHeaders(self):
return rpm.readHeaderList(self.tree + "/RedHat/base/hdlist")