[bugzilla-gnome-org-extensions] patch report: Fix whitespace and style issues



commit bbcc4e21194e6974633a3e6d511959fb8e10f48c
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Thu Nov 6 22:48:47 2014 +0100

    patch report: Fix whitespace and style issues

 PatchReport/Extension.pm |    3 +--
 PatchReport/lib/Util.pm  |    6 +-----
 2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/PatchReport/Extension.pm b/PatchReport/Extension.pm
index e0c6273..d74a8ac 100644
--- a/PatchReport/Extension.pm
+++ b/PatchReport/Extension.pm
@@ -8,9 +8,8 @@ our $VERSION = '0.01';
 
 sub page_before_template {
     my ($self, $args) = @_;
-    
+
     page(%{ $args });
-    
 }
 
 sub install_before_final_checks {
diff --git a/PatchReport/lib/Util.pm b/PatchReport/lib/Util.pm
index f3c185d..35c161f 100644
--- a/PatchReport/lib/Util.pm
+++ b/PatchReport/lib/Util.pm
@@ -111,15 +111,12 @@ sub _page_patch_report {
     $vars->{'stats'} = $stats;
 }
 
-
 sub get_unreviewed_patches_and_stats {
     my ($quoted_product, $quoted_component, $patch_status,
         $min_days, $max_days, $submitter) = (@_);
 
-    my $query;
     my $dbh = Bugzilla->dbh;
-
-    $query = " SELECT attachments.attach_id, attachments.bug_id,
+    my $query = " SELECT attachments.attach_id, attachments.bug_id,
                       (" . $dbh->sql_to_days('LOCALTIMESTAMP(0)') . "-" .
                        $dbh->sql_to_days('attachments.creation_ts') . ") AS age,
                       substring(attachments.description, 1, 70),
@@ -264,4 +261,3 @@ sub get_unreviewed_patches_and_stats {
 
     return $stats;
 }
-


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]