[Jifty-commit] r7240 - jifty/trunk/lib/Jifty/Plugin/SetupWizard/Action

Jifty commits jifty-commit at lists.jifty.org
Thu Jun 11 15:48:55 EDT 2009


Author: sartak
Date: Thu Jun 11 15:48:55 2009
New Revision: 7240

Modified:
   jifty/trunk/lib/Jifty/Plugin/SetupWizard/Action/TestDatabaseConnectivity.pm

Log:
Remove file:line info from the action result message

Modified: jifty/trunk/lib/Jifty/Plugin/SetupWizard/Action/TestDatabaseConnectivity.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SetupWizard/Action/TestDatabaseConnectivity.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/SetupWizard/Action/TestDatabaseConnectivity.pm	Thu Jun 11 15:48:55 2009
@@ -61,6 +61,7 @@
     if (!$ok) {
         $error ||= _("No handle created");
         warn $error;
+        $error =~ s/ at .* line \d+$//;
         return $self->result->error($error);
     }
 


More information about the Jifty-commit mailing list