diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-18 20:51:24 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-18 20:51:24 +0100 |
commit | 947eb7b8b8200e5151b91f8be1a95c1dd466732a (patch) | |
tree | 67bbd3e65c1c3711887949e1b424a2a0da618d1a /lib/LXRng/Context.pm | |
parent | 428ac342deed279d18fd6ab9d1c7ac39d0d2f03d (diff) | |
parent | 32aa8b091f439043ec2a4c7807366cb26eb9de19 (diff) |
Merge branch 'master' of /home/argggh/git/lxrng/
Diffstat (limited to 'lib/LXRng/Context.pm')
-rw-r--r-- | lib/LXRng/Context.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LXRng/Context.pm b/lib/LXRng/Context.pm index 6909c58..db486bf 100644 --- a/lib/LXRng/Context.pm +++ b/lib/LXRng/Context.pm @@ -82,7 +82,7 @@ sub new { if ($$self{'tree'} and $$self{'tree'} !~ /^[+]/) { my $tree = $$self{'tree'}; - die("No config for tree $tree") + return $self unless exists($$config{$tree}); $$self{'config'} = $$config{$tree}; |