[Apt-listbugs-commits] [SCM] dpkg-ruby development branch, master, updated. debian/0.3.6-2-gec4c124

Ryan Niebur ryan at debian.org
Sun Sep 4 18:45:24 UTC 2011


The following commit has been merged in the master branch:
commit 323ad25825af3cf3d42ed5e156fbf64827209482
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date:   Sun Jul 25 17:42:35 2010 +0200

    add file name to exception (Closes: #590146)

diff --git a/debian/changelog b/debian/changelog
index 64e193c..efcbb55 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dpkg-ruby (0.3.7) UNRELEASED; urgency=low
+
+  * add file name to broken archive exception (Closes: #590146)
+
+ -- Francesco Poli (t1000) <frx at firenze.linux.it>  Sun, 25 Jul 2010 16:21:01 +0200
+
 dpkg-ruby (0.3.6) unstable; urgency=low
 
   * switch to ruby 1.9.1 (Closes: #565848)
diff --git a/lib/debian/ar.rb b/lib/debian/ar.rb
index b959731..241389b 100644
--- a/lib/debian/ar.rb
+++ b/lib/debian/ar.rb
@@ -108,7 +108,7 @@ module Debian
       @fp = File.open(file)
       magic = @fp.gets
       unless magic == ARMAG
-	raise ArError, "archive broken"
+	raise ArError, "archive broken: #{file}"
       end
       @ofs = []
     end

-- 
dpkg-ruby development



More information about the Apt-listbugs-commits mailing list