I ran into a couple tabs in splittree, made it not usable as a python module. Attached is a patch to remove the tabs and trade them for appropriate spaces. -- Jesse Keating Release Engineer: Fedora
--- anaconda-runtime/splittree.py.jk 2006-11-06 16:20:45.000000000 -0500 +++ anaconda-runtime/splittree.py 2006-11-06 16:21:17.000000000 -0500 @@ -235,7 +235,7 @@ self.linkFiles(self.dist_dir, "%s-disc%d" %(self.dist_dir, i), self.common_files) self.createDiscInfo(i) - if (self.src_discs != 0): + if (self.src_discs != 0): for i in range(self.src_list[0], self.src_list[-1] + 1): os.makedirs("%s-disc%d/SRPMS" % (self.dist_dir, i)) self.linkFiles(self.dist_dir, @@ -389,7 +389,7 @@ """Just runs everything""" self.createSplitDirs() self.splitRPMS() - if (self.src_discs != 0): + if (self.src_discs != 0): self.splitSRPMS() return self.logfile @@ -462,7 +462,7 @@ usage("You forgot to specify --srcdir") if options.has_key("--productpath"): - timber.product_path = options["--productpath"] + timber.product_path = options["--productpath"] if options.has_key("--reserve-size"): timber.reserve_size = float(options["--reserve_size"])
Attachment:
pgpYXkIfjQKt0.pgp
Description: PGP signature