summaryrefslogtreecommitdiff
path: root/examples/pysolv
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-11-27 11:33:11 +0100
committerMichael Schroeder <mls@suse.de>2012-11-27 11:33:11 +0100
commit683e50ed13321d5265ce80e1817b354a5af9d1ed (patch)
tree5612942da9f760152c6880e60093a7be096ff80d /examples/pysolv
parent9eaaeb1ef79617559a51b23acf58f9563478207a (diff)
downloadlibsolv-683e50ed13321d5265ce80e1817b354a5af9d1ed.tar.gz
libsolv-683e50ed13321d5265ce80e1817b354a5af9d1ed.tar.bz2
libsolv-683e50ed13321d5265ce80e1817b354a5af9d1ed.zip
Selection: rename addsimple method to add_raw in the bindings
Diffstat (limited to 'examples/pysolv')
-rwxr-xr-xexamples/pysolv4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pysolv b/examples/pysolv
index bfb020e..0bdf8e0 100755
--- a/examples/pysolv
+++ b/examples/pysolv
@@ -639,7 +639,7 @@ if options.repos:
if hasattr(repo, 'handle'):
if not repolimiter:
repolimiter = pool.Selection()
- repolimiter.addsimple(Job.SOLVER_SOLVABLE_REPO|Job.SOLVER_SETREPO|Job.SOLVER_SETVENDOR, repo.handle.id)
+ repolimiter.add_raw(Job.SOLVER_SOLVABLE_REPO|Job.SOLVER_SETREPO|Job.SOLVER_SETVENDOR, repo.handle.id)
if cmd == 'search':
matches = {}
@@ -701,7 +701,7 @@ for arg in args:
if not jobs and (cmd == 'up' or cmd == 'dup' or cmd == 'verify' or repolimiter):
sel = pool.Selection()
- sel.addsimple(Job.SOLVER_SOLVABLE_ALL, 0)
+ sel.add_raw(Job.SOLVER_SOLVABLE_ALL, 0)
if repolimiter:
sel.limit(repolimiter)
jobs += sel.jobs(0)