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