+2007-10-10 Guillem Jover <guillem@debian.org>
+
+ * scripts/Dpkg/ErrorHandling.pm: Use Dpkg.
+ ($progname): Do not set nor declare it.
+
2007-10-10 Guillem Jover <guillem@debian.org>
* scripts/Dpkg/ErrorHandling.pm ($warnable_error): Set to 1 to match
package Dpkg::ErrorHandling;
+use Dpkg;
use Dpkg::Gettext;
use base qw(Exporter);
our $warnable_error = 1;
our $quiet_warnings = 0;
-our $progname = "unknown";
sub failure { die sprintf(_g("%s: failure: %s"), $progname, $_[0])."\n"; }
sub syserr { die sprintf(_g("%s: failure: %s: %s"), $progname, $_[0], $!)."\n"; }