aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-11-11 22:54:59 +0100
committerAngelo Naselli <anaselli@linux.it>2014-11-11 22:54:59 +0100
commitcb32fa1ad23e1cf49f1e734f394a247a088f73d2 (patch)
treebfa813ebd0beb227de85a825ae17db7c8978295a /lib
parent254e226b9a999d1c2396eab6d7903eeeff7b223d (diff)
downloadcolin-keep-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar
colin-keep-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar.gz
colin-keep-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar.bz2
colin-keep-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.tar.xz
colin-keep-cb32fa1ad23e1cf49f1e734f394a247a088f73d2.zip
code clean up
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/Rpmdragora/formatting.pm4
-rw-r--r--lib/AdminPanel/Rpmdragora/gui.pm1
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/AdminPanel/Rpmdragora/formatting.pm b/lib/AdminPanel/Rpmdragora/formatting.pm
index 7f81c29..f730595 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 7678bb2..25416ce 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;