From 0b3e2bcce9dcd91d6725db5263e0d9e02b876ad3 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 7 Dec 2018 15:03:14 +0100 Subject: [PATCH] tclsolv: Adapt to Selection-flags change Should have been in commit c6b300573f9974706db9dfd061b6e6c5b0e81bf8 --- examples/tclsolv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tclsolv b/examples/tclsolv index 8d855be7..e24c1d81 100755 --- a/examples/tclsolv +++ b/examples/tclsolv @@ -636,10 +636,10 @@ foreach arg $::argv { puts "nothing matches '$arg'" exit 1 } - if {[$sel flags] & $solv::Selection_SELECTION_FILELIST} { + if {[$sel cget -flags] & $solv::Selection_SELECTION_FILELIST} { puts "\[using file list match for '$arg']" } - if {[$sel flags] & $solv::Selection_SELECTION_PROVIDES} { + if {[$sel cget -flags] & $solv::Selection_SELECTION_PROVIDES} { puts "\[using capability match for '$arg']" } lappend jobs {*}[$sel jobs $cmdactionmap($cmd)] -- 2.47.2