From c0e7d8afe539576846bd16a99321f1a943252c01 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 10 Feb 2009 14:47:37 -0800 Subject: [PATCH] Rename _doIsoSha1 to _doIsoChecksum to future proof. --- src/pypungi/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 2560edd2..4966f9a4 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -925,7 +925,7 @@ cost=500 repofile.write(repocontent) repofile.close() - def _doIsoSha1(self, path, shafile): + def _doIsoChecksum(self, path, shafile): """Simple function to wrap creating sha1sums of iso files.""" try: @@ -1056,7 +1056,7 @@ cost=500 # shove the sha1sum into a file sha1file = os.path.join(self.isodir, 'SHA1SUM') - self._doIsoSha1(isofile, sha1file) + self._doIsoChecksum(isofile, sha1file) # return the .discinfo file if not self.config.get('pungi', 'arch') == 'source': @@ -1115,7 +1115,7 @@ cost=500 # shove the sha1sum into a file sha1file = os.path.join(self.isodir, 'SHA1SUM') - self._doIsoSha1(isofile, sha1file) + self._doIsoChecksum(isofile, sha1file) # keep track of the CD images we've written isolist.append(self.mkrelative(isofile)) @@ -1135,7 +1135,7 @@ cost=500 # shove the sha1sum into a file sha1file = os.path.join(self.isodir, 'SHA1SUM') - self._doIsoSha1(isofile, sha1file) + self._doIsoChecksum(isofile, sha1file) # Do some clean up dirs = os.listdir(self.archdir)