]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2005-07-24 15:22:28 by cjwatson]
authorcjwatson <>
Sun, 24 Jul 2005 22:22:28 +0000 (14:22 -0800)
committercjwatson <>
Sun, 24 Jul 2005 22:22:28 +0000 (14:22 -0800)
don't break other namespaces that need to load /etc/debbugs/config

Debbugs/Packages.pm

index e040bc9517c788342757809719981ee52c20e144..f4b209ecbf7a91e7f6b2c59d7b82a5b518140659 100644 (file)
@@ -5,6 +5,8 @@ use strict;
 # TODO: move config handling to a separate module
 my $config_path = '/etc/debbugs';
 require "$config_path/config";
+# Allow other modules to load config into their namespace.
+delete $INC{"$config_path/config"};
 
 use Exporter ();
 use vars qw($VERSION @ISA @EXPORT);