From 9a0da2b396658243a66264a5f56d6fcb18bcc121 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Fri, 24 Apr 2015 17:00:45 +0200 Subject: [PATCH] Unused variable removed --- lib/tasks/import_debian.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/import_debian.rake b/lib/tasks/import_debian.rake index 761f591..946eaf5 100644 --- a/lib/tasks/import_debian.rake +++ b/lib/tasks/import_debian.rake @@ -244,7 +244,7 @@ end # Check if a package name is blacklisted and should not be imported. # This prevents importing boring software that likely does not get a useful screenshot. def package_name_blacklisted?(name) - if match=BLACKLIST_NAME_PATTERN.find { |pattern| name=~pattern} + if BLACKLIST_NAME_PATTERN.find { |pattern| name=~pattern} Rails.logger.debug " > Blacklisted by name ('#{name}')" return true else @@ -255,7 +255,7 @@ end # Check if a package's section is blacklisted and should not be imported. # This prevents importing boring software that likely does not get a useful screenshot. def package_section_blacklisted?(section) - if match=BLACKLIST_SECTION_PATTERN.find { |pattern| section=~pattern} + if BLACKLIST_SECTION_PATTERN.find { |pattern| section=~pattern} Rails.logger.debug " > Blacklisted by section ('#{section}')" return true else