Change some tabs to spaces
This commit is contained in:
parent
399c9bfb10
commit
ca72e5dcc1
@ -235,7 +235,7 @@ self.reserve_size : Additional size needed to be reserved on the first disc.
|
|||||||
self.linkFiles(self.dist_dir, "%s-disc%d" %(self.dist_dir, i), self.common_files)
|
self.linkFiles(self.dist_dir, "%s-disc%d" %(self.dist_dir, i), self.common_files)
|
||||||
self.createDiscInfo(i)
|
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):
|
for i in range(self.src_list[0], self.src_list[-1] + 1):
|
||||||
os.makedirs("%s-disc%d/SRPMS" % (self.dist_dir, i))
|
os.makedirs("%s-disc%d/SRPMS" % (self.dist_dir, i))
|
||||||
self.linkFiles(self.dist_dir,
|
self.linkFiles(self.dist_dir,
|
||||||
@ -392,7 +392,7 @@ self.reserve_size : Additional size needed to be reserved on the first disc.
|
|||||||
"""Just runs everything"""
|
"""Just runs everything"""
|
||||||
self.createSplitDirs()
|
self.createSplitDirs()
|
||||||
self.splitRPMS()
|
self.splitRPMS()
|
||||||
if (self.src_discs != 0):
|
if (self.src_discs != 0):
|
||||||
self.splitSRPMS()
|
self.splitSRPMS()
|
||||||
return self.logfile
|
return self.logfile
|
||||||
|
|
||||||
@ -465,7 +465,7 @@ if "__main__" == __name__:
|
|||||||
usage("You forgot to specify --srcdir")
|
usage("You forgot to specify --srcdir")
|
||||||
|
|
||||||
if options.has_key("--productpath"):
|
if options.has_key("--productpath"):
|
||||||
timber.product_path = options["--productpath"]
|
timber.product_path = options["--productpath"]
|
||||||
|
|
||||||
if options.has_key("--reserve-size"):
|
if options.has_key("--reserve-size"):
|
||||||
timber.reserve_size = float(options["--reserve_size"])
|
timber.reserve_size = float(options["--reserve_size"])
|
||||||
|
Loading…
Reference in New Issue
Block a user