aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-06-28 15:54:52 +0200
committerAngelo Naselli <anaselli@linux.it>2014-06-28 15:54:52 +0200
commite1eab7e3b53a6f61c49ed2d9726bd50e26acee06 (patch)
treea8b41c18d14e3184fea3e6067ef47a7ec49a7cb3 /modules/rpmdragora
parent8d886a19c59e219b99177a0de5e63bb2746c1402 (diff)
downloadcolin-keep-e1eab7e3b53a6f61c49ed2d9726bd50e26acee06.tar
colin-keep-e1eab7e3b53a6f61c49ed2d9726bd50e26acee06.tar.gz
colin-keep-e1eab7e3b53a6f61c49ed2d9726bd50e26acee06.tar.bz2
colin-keep-e1eab7e3b53a6f61c49ed2d9726bd50e26acee06.tar.xz
colin-keep-e1eab7e3b53a6f61c49ed2d9726bd50e26acee06.zip
YItem->label() is a string
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-xmodules/rpmdragora/rpmdragora4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index 03cd666..f5e5b52 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -157,7 +157,7 @@ sub detaillist_changeditem_callback {
my $currItem = $itemsToBeRemoved[$index];
#pasmatt why? changedItem is YCBTableItem now so it's what you're looking for
# if(ref $currItem eq "yui::YCBTableItem") {
- if ($currItem->label() == $changedItem->label()) {
+ if ($currItem->label() eq $changedItem->label()) {
$found = 1;
splice (@itemsToBeRemoved, $index ,1);
last;
@@ -177,7 +177,7 @@ sub detaillist_changeditem_callback {
foreach $index (0 .. scalar(@itemsToBeInstalled)-1) {
my $currItem = $itemsToBeInstalled[$index];
# if(ref $currItem eq "yui::YCBTableItem") {
- if ($currItem->label() == $changedItem->label()) {
+ if ($currItem->label() eq $changedItem->label()) {
$found = 1;
splice (@itemsToBeInstalled, $index ,1);
last;