OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-registry Date: 02-Aug-2006 23:23:23
Branch: HEAD Handle: 2006080222232300
Modified files:
openpkg-registry registry-ui.pl
Log:
remove BEGIN, it is counterproductive for optional module integration
Summary:
Revision Changes Path
1.83 +3 -2 openpkg-registry/registry-ui.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-registry/registry-ui.pl
============================================================================
$ cvs diff -u -r1.82 -r1.83 registry-ui.pl
--- openpkg-registry/registry-ui.pl 25 Jul 2006 13:41:44 -0000 1.82
+++ openpkg-registry/registry-ui.pl 2 Aug 2006 21:23:23 -0000 1.83
@@ -205,11 +205,12 @@
my $usecfg =
&parsecfgtxt(&readcfgtxt("$PREFIX/etc/openpkg-registry/registry-ui.cfg"));
my $cfg = &mergehashes($defcfg, $usecfg);
+# optional OSSP::ase integration
my $ase;
$ase = undef;
if ($cfg->{identification}->{mode} eq "ase") {
- #use OSSP::ase::client; # FIXME
production
- BEGIN { require "./ase.pm"; import OSSP::ase::client; } # FIXME
development
+ #use OSSP::ase::client; # FIXME production
+ require "./ase.pm"; import OSSP::ase::client; # FIXME development
}
# create objects
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]