[DRE-commits] [SCM] wheezy-transition-tracker.git branch, master, updated. a614ad6553fc8b7adde9c2c2608c4fdaef209c4f

Paul van Tilburg paulvt at debian.org
Fri May 11 18:57:38 UTC 2012


The following commit has been merged in the master branch:
commit a614ad6553fc8b7adde9c2c2608c4fdaef209c4f
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Fri May 11 20:57:36 2012 +0200

    Fixed syntax errors

diff --git a/pending.rb b/pending.rb
index a8deb1c..7faa7e7 100644
--- a/pending.rb
+++ b/pending.rb
@@ -42,7 +42,7 @@ end
 at_exit do
   [true, false].each do |team|
     packages = $pending[team]
-    puts "# Packages #{ team && '' || 'NOT'} maintained by the team (#{packages.keys.size})"
+    puts "# Packages #{ team && '' || 'NOT '}maintained by the team (#{packages.keys.size})"
     packages.keys.sort.each do |key|
       puts "#{key}: #{$pending[team][key].uniq.join(', ')}"
     end
@@ -51,7 +51,7 @@ end
 
 search :wrong_name, 'aptitude search "~n^lib.*-ruby !~D^ruby- ~Aunstable" -F %p'
 
-if FileTest.readable "sources.list"
+if FileTest.readable? "sources.list"
   search :wrong_install_location, 'apt-file -s sources.list -l search /usr/lib/ruby/1'
 else
   search :wrong_install_location, 'apt-file -l search /usr/lib/ruby/1'

-- 
wheezy-transition-tracker.git



More information about the Pkg-ruby-extras-commits mailing list