diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-11-11 22:54:59 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-11-11 22:54:59 +0100 |
commit | cb32fa1ad23e1cf49f1e734f394a247a088f73d2 (patch) | |
tree | bfa813ebd0beb227de85a825ae17db7c8978295a /lib/AdminPanel/Rpmdragora | |
parent | 254e226b9a999d1c2396eab6d7903eeeff7b223d (diff) | |
download | manatools-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar manatools-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar.gz manatools-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar.bz2 manatools-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar.xz manatools-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.zip |
code clean up
Diffstat (limited to 'lib/AdminPanel/Rpmdragora')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/formatting.pm | 4 | ||||
-rw-r--r-- | lib/AdminPanel/Rpmdragora/gui.pm | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/AdminPanel/Rpmdragora/formatting.pm b/lib/AdminPanel/Rpmdragora/formatting.pm index 7f81c298..f7305958 100644 --- a/lib/AdminPanel/Rpmdragora/formatting.pm +++ b/lib/AdminPanel/Rpmdragora/formatting.pm @@ -194,6 +194,8 @@ sub format_filesize { $filesize ? $loc->N("%s of packages will be retrieved.", formatXiB($filesize)) : (); } -sub format_list { join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) } +sub format_list { + return join("\n", map { s/^(\s)/ $1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_); +} 1; diff --git a/lib/AdminPanel/Rpmdragora/gui.pm b/lib/AdminPanel/Rpmdragora/gui.pm index 7678bb25..25416ce3 100644 --- a/lib/AdminPanel/Rpmdragora/gui.pm +++ b/lib/AdminPanel/Rpmdragora/gui.pm @@ -1162,7 +1162,6 @@ sub deps_msg { my $pkg = $item->label(); setInfoOnWidget($pkg, $infoBox); } -# $infoBox->setValue( get_info($pkg) ); } elsif ($widget == $okButton) { $retval = 1; |