Add a cost to the media repo file.

This commit is contained in:
Jesse Keating 2007-10-11 13:58:50 -04:00 committed by Jesse Keating
parent 7795c25583
commit 6119a75069
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
* Thu Oct 11 2007 Jesse Keating <jkeating@redhat.com>
- Add a cost to the media repo file.
* Tue Oct 02 2007 Jesse Keating <jkeating@redhat.com>
- Make sure we stuff a string value into ConfigParser.

View File

@ -341,6 +341,7 @@ name=%s %s
mediaid=%s
metadata_expire=-1
gpgcheck=0
cost=500
""" % (self.config.get('default', 'name'), self.config.get('default', 'version'), mediaid)
repofile.write(repocontent)