summaryrefslogtreecommitdiffstats
path: root/pyanaconda/packaging/__init__.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-10-29 11:01:39 -0400
committerChris Lumens <clumens@redhat.com>2012-10-29 15:22:20 -0400
commit31e6fa983550a1229914cb32c019a8558cbf2f8c (patch)
tree6b99a975f2354ddbe877d6fcfcdb6267c0b6b391 /pyanaconda/packaging/__init__.py
parent3511f783622ae872b58d421c0ed601cd7a335ca5 (diff)
downloadanaconda-31e6fa983550a1229914cb32c019a8558cbf2f8c.tar.gz
anaconda-31e6fa983550a1229914cb32c019a8558cbf2f8c.tar.xz
anaconda-31e6fa983550a1229914cb32c019a8558cbf2f8c.zip
updateBaseRepo does not need a storage argument.
It can get it as an attribute off the Payload object, now that setup is always being called.
Diffstat (limited to 'pyanaconda/packaging/__init__.py')
-rw-r--r--pyanaconda/packaging/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/packaging/__init__.py b/pyanaconda/packaging/__init__.py
index e415fbb90..25d4aa2b8 100644
--- a/pyanaconda/packaging/__init__.py
+++ b/pyanaconda/packaging/__init__.py
@@ -220,7 +220,7 @@ class Payload(object):
self.data.method.proxy = ""
self.data.method.opts = None
- def updateBaseRepo(self, storage):
+ def updateBaseRepo(self):
""" Update the base repository from ksdata.method. """
pass
@@ -744,7 +744,7 @@ if __name__ == "__main__":
ksdata.method.url = "http://dl.fedoraproject.org/pub/fedora/linux/development/17/x86_64/os/"
# now switch the base repo to what we set ksdata.method to just above
- payload.updateBaseRepo(storage)
+ payload.updateBaseRepo()
for repo in payload._yum.repos.repos.values():
print repo.name, repo.enabled