summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-06-07 11:14:34 +0200
committerMichael Schroeder <mls@suse.de>2013-06-07 11:14:34 +0200
commit774880183d797dcc86ba67b41b8fb14dd081f097 (patch)
tree675718700a9d3ffd2d7b199759fecc6f9ec024a9 /examples
parentda05e63f508a7258a4d905ac1e478689c12808c7 (diff)
downloadlibsolv-774880183d797dcc86ba67b41b8fb14dd081f097.tar.gz
libsolv-774880183d797dcc86ba67b41b8fb14dd081f097.tar.bz2
libsolv-774880183d797dcc86ba67b41b8fb14dd081f097.zip
bindings consistency: rename new/keptpackages to new/keptsolvables
We keep the old methods available for now to be backward compatible.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/p5solv2
-rwxr-xr-xexamples/pysolv2
-rwxr-xr-xexamples/rbsolv2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/p5solv b/examples/p5solv
index 216eb08..ac2e730 100755
--- a/examples/p5solv
+++ b/examples/p5solv
@@ -707,7 +707,7 @@ while (1) {
exit(1) if $yn eq 'n' || $yn eq 'q';
}
-my @newpkgs = $trans->newpackages();
+my @newpkgs = $trans->newsolvables();
my %newpkgsfps;
if (@newpkgs) {
my $downloadsize = 0;
diff --git a/examples/pysolv b/examples/pysolv
index c4ddb08..bc12766 100755
--- a/examples/pysolv
+++ b/examples/pysolv
@@ -835,7 +835,7 @@ while True:
yn = sys.stdin.readline().strip()
if yn == 'y': break
if yn == 'n' or yn == 'q': sys.exit(1)
-newpkgs = trans.newpackages()
+newpkgs = trans.newsolvables()
newpkgsfp = {}
if newpkgs:
downloadsize = 0
diff --git a/examples/rbsolv b/examples/rbsolv
index 741db94..6119190 100755
--- a/examples/rbsolv
+++ b/examples/rbsolv
@@ -720,7 +720,7 @@ while true:
abort if yn == 'n' || yn == 'q'
end
-newpkgs = trans.newpackages()
+newpkgs = trans.newsolvables()
newpkgsfp = {}
if !newpkgs.empty?
downloadsize = 0