[SCM] Debian package checker branch, master, updated. 2.5.0-rc2-122-g12888e8
The following commit has been merged in the master branch:
commit dbdff6d8a2d9f6e8291b6cc83f1337a538ac2fed
Author: Niels Thykier <niels@thykier.net>
Date: Sat Apr 2 11:19:44 2011 +0200
Made the accessors read-only in Lab::Pkg and L::P
diff --git a/lib/Lab/Package.pm b/lib/Lab/Package.pm
index 37d32d6..2fa89c0 100644
--- a/lib/Lab/Package.pm
+++ b/lib/Lab/Package.pm
@@ -118,7 +118,7 @@ Returns the base directory of this package inside the lab.
=cut
-Lab::Package->mk_accessors(qw(lab pkg_name pkg_version pkg_path pkg_type base_dir));
+Lab::Package->mk_ro_accessors(qw(lab pkg_name pkg_version pkg_path pkg_type base_dir));
=pod
diff --git a/lib/Lintian/Processable.pm b/lib/Lintian/Processable.pm
index a22f841..bd6499c 100644
--- a/lib/Lintian/Processable.pm
+++ b/lib/Lintian/Processable.pm
@@ -120,7 +120,7 @@ to less dangerous (but possibly invalid) values.
=cut
-Lintian::Processable->mk_accessors (qw(pkg_name pkg_version pkg_src pkg_arch pkg_path pkg_type pkg_src_version group tainted));
+Lintian::Processable->mk_ro_accessors (qw(pkg_name pkg_version pkg_src pkg_arch pkg_path pkg_type pkg_src_version group tainted));
=pod
--
Debian package checker
Reply to: