summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-09-22 19:40:03 +0000
committerJeremy Katz <katzj@redhat.com>2004-09-22 19:40:03 +0000
commita2df1f274cca35c47ab7b5ec23db870bbbf6ffad (patch)
tree51504c569cadd1722735ea63a3ff940e7c2b37ec
parent9831bc782b981d51dba367049922744a76fc6049 (diff)
downloadanaconda-a2df1f274cca35c47ab7b5ec23db870bbbf6ffad.tar.gz
anaconda-a2df1f274cca35c47ab7b5ec23db870bbbf6ffad.tar.xz
anaconda-a2df1f274cca35c47ab7b5ec23db870bbbf6ffad.zip
2004-09-22 Jeremy Katz <katzj@redhat.com>
* scripts/splittree.py: Fix for SRPMs (#122737)
-rw-r--r--ChangeLog2
-rw-r--r--scripts/splittree.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cd2e15eeb..75a673342 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2004-09-22 Jeremy Katz <katzj@redhat.com>
+ * scripts/splittree.py: Fix for SRPMs (#122737)
+
* bootdisk/i386/syslinux.cfg:
* bootdisk/x86_64/syslinux.cfg:
Add localboot option (#120687).
diff --git a/scripts/splittree.py b/scripts/splittree.py
index b52176cc9..5e63dd95e 100644
--- a/scripts/splittree.py
+++ b/scripts/splittree.py
@@ -361,7 +361,7 @@ and RPMs. Set to 1 to turn on."""
for disc in self.src_list:
if self.getSize("%s-disc%s" % (self.dist_dir, disc), blocksize=1) > self.target_size:
if len(self.src_list) < 2:
- self.logfile.append("Overflowing %s on disc%d" % (srpm_list[i][1], self.src_list[0]))
+ self.logfile.append("Overflowing %s on disc%d" % (srpm_list[i][1], disc))
break
else:
discsize = self.getSize("%s-disc%d" % (self.dist_dir, srpm_disc_list[i]))