diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-23 10:54:00 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-23 10:54:00 +0200 |
commit | 7ea7526604691034dbcadb096c7b8c053f0d9ed4 (patch) | |
tree | 8f7103b363eed741ee852e8ede12de67f1a0741e /examples/pysolv | |
parent | 7fbfb48c6db0ccf031a61d2f38aca87600a3f223 (diff) | |
download | libsolv-7ea7526604691034dbcadb096c7b8c053f0d9ed4.tar.gz libsolv-7ea7526604691034dbcadb096c7b8c053f0d9ed4.tar.bz2 libsolv-7ea7526604691034dbcadb096c7b8c053f0d9ed4.zip |
remove "ref" argument from add_rpmdb() in the bindings
This is done mainly for consistency reasons (plus nobody
used the ref argument anyway). When we need the ref back,
we'll add a new method.
Diffstat (limited to 'examples/pysolv')
-rwxr-xr-x | examples/pysolv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pysolv b/examples/pysolv index 18327d7..ff71c42 100755 --- a/examples/pysolv +++ b/examples/pysolv @@ -550,7 +550,7 @@ class repo_system(repo_generic): print "reading" if hasattr(self.handle.__class__, 'add_products'): self.handle.add_products("/etc/products.d", Repo.REPO_NO_INTERNALIZE) - self.handle.add_rpmdb(None, Repo.REPO_REUSE_REPODATA) + self.handle.add_rpmdb(Repo.REPO_REUSE_REPODATA) self.writecachedrepo(None) return True |