Fix up some tabs/spaces.
This commit is contained in:
parent
7bf5e3d458
commit
87f914e814
|
@ -333,10 +333,10 @@ class Pungi(pypungi.PungiBase):
|
||||||
# run the command
|
# run the command
|
||||||
pypungi._doRunCommand(createrepo, self.logger)
|
pypungi._doRunCommand(createrepo, self.logger)
|
||||||
|
|
||||||
# Write out a repo file for the disc to be used on the installed system
|
# Write out a repo file for the disc to be used on the installed system
|
||||||
self.logger.info('Creating media repo file.')
|
self.logger.info('Creating media repo file.')
|
||||||
repofile = open(os.path.join(self.topdir, 'media.repo'), 'w')
|
repofile = open(os.path.join(self.topdir, 'media.repo'), 'w')
|
||||||
repocontent = """[InstallMedia]
|
repocontent = """[InstallMedia]
|
||||||
name=%s %s
|
name=%s %s
|
||||||
mediaid=%s
|
mediaid=%s
|
||||||
metadata_expire=-1
|
metadata_expire=-1
|
||||||
|
@ -344,8 +344,8 @@ gpgcheck=0
|
||||||
cost=500
|
cost=500
|
||||||
""" % (self.config.get('default', 'name'), self.config.get('default', 'version'), mediaid)
|
""" % (self.config.get('default', 'name'), self.config.get('default', 'version'), mediaid)
|
||||||
|
|
||||||
repofile.write(repocontent)
|
repofile.write(repocontent)
|
||||||
repofile.close()
|
repofile.close()
|
||||||
|
|
||||||
def doCreateIsos(self):
|
def doCreateIsos(self):
|
||||||
"""Create isos from the various split directories."""
|
"""Create isos from the various split directories."""
|
||||||
|
|
Loading…
Reference in New Issue