summaryrefslogtreecommitdiff
path: root/examples/p5solv
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-23 10:54:00 +0200
committerMichael Schroeder <mls@suse.de>2013-04-23 10:54:00 +0200
commit7ea7526604691034dbcadb096c7b8c053f0d9ed4 (patch)
tree8f7103b363eed741ee852e8ede12de67f1a0741e /examples/p5solv
parent7fbfb48c6db0ccf031a61d2f38aca87600a3f223 (diff)
downloadlibsolv-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/p5solv')
-rwxr-xr-xexamples/p5solv2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/p5solv b/examples/p5solv
index 324d30d..178a25a 100755
--- a/examples/p5solv
+++ b/examples/p5solv
@@ -478,7 +478,7 @@ sub load {
if (defined(&solv::Repo::add_products)) {
$self->{'handle'}->add_products("/etc/products.d", $solv::Repo::REPO_NO_INTERNALIZE);
}
- $self->{'handle'}->add_rpmdb(undef, $solv::Repo::REPO_REUSE_REPODATA);
+ $self->{'handle'}->add_rpmdb($solv::Repo::REPO_REUSE_REPODATA);
$self->writecachedrepo();
return 1;
}