[Jifty-commit] r2802 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Feb 18 17:32:59 EST 2007
Author: jesse
Date: Sun Feb 18 17:32:58 2007
New Revision: 2802
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/ClassLoader.pm
Log:
r48377 at 237: jesse | 2007-02-18 16:32:07 -0600
* Removed a line of debugging output
* Added notes about the symptom of the bug alex just fixed
Modified: jifty/trunk/lib/Jifty/ClassLoader.pm
==============================================================================
--- jifty/trunk/lib/Jifty/ClassLoader.pm (original)
+++ jifty/trunk/lib/Jifty/ClassLoader.pm Sun Feb 18 17:32:58 2007
@@ -36,7 +36,6 @@
return $exist[0] if @exist;
my $self = bless {%args}, $class;
- print "CREATE $self\n";
push @INC, $self;
return $self;
}
@@ -300,6 +299,12 @@
# We call this explictly in an END block in Jifty.pm, because
# otherwise the DESTROY block gets called *after* there's already a
# bogus entry in @INC
+
+# This bug manifests itself as warnings that look like this:
+
+# Use of uninitialized value in require at /tmp/7730 line 9 during global destruction.
+
+
sub DESTROY {
my $self = shift;
@INC = grep {defined $_ and $_ ne $self} @INC;
More information about the Jifty-commit
mailing list