[Jifty-commit] r6351 - jifty/trunk/lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 18 17:59:23 EST 2009


Author: alexmv
Date: Wed Feb 18 17:59:23 2009
New Revision: 6351

Modified:
   jifty/trunk/lib/Jifty/Everything.pm

Log:
 * Make sure we only try to load .pm files; otherwise Module::Pluggable finds the .svn subdir (!?)

Modified: jifty/trunk/lib/Jifty/Everything.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Everything.pm	(original)
+++ jifty/trunk/lib/Jifty/Everything.pm	Wed Feb 18 17:59:23 2009
@@ -95,9 +95,9 @@
 # we do the actual load in Jifty::Script
 Jifty::Module::Pluggable->import(
     search_path => ['Jifty::Plugin'],
-    file_regex  => qr{/Command/[^/]+},
+    file_regex  => qr{/Command/[^/]+\.pm},
     require     => 1,
-    sub_name    => "plugin_commands"
+    sub_name    => "plugin_commands",
 );
 
 =head1 SEE ALSO


More information about the Jifty-commit mailing list