From: Andy Grundman Date: Fri, 26 Oct 2007 04:33:37 +0000 (+0000) Subject: Clean up some ugly code with hard tabs X-Git-Tag: 5.7099_04~115 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=69d8f33cd5ad7169e6b94c824c35ac194f895072 Clean up some ugly code with hard tabs --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 0e0bf01..2f496f6 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1273,22 +1273,28 @@ sub _stats_start_execute { # forward, locate the caller if ( my $parent = $c->stack->[-1] ) { - $c->stats->profile(begin => $action, - parent => "$parent" . $c->counter->{"$parent"}, - uid => $uid); + $c->stats->profile( + begin => $action, + parent => "$parent" . $c->counter->{"$parent"}, + uid => $uid, + ); } else { # forward with no caller may come from a plugin - $c->stats->profile(begin => $action, - uid => $uid); + $c->stats->profile( + begin => $action, + uid => $uid, + ); } } else { # root-level call - $c->stats->profile(begin => $action, - uid => $uid); + $c->stats->profile( + begin => $action, + uid => $uid, + ); } return $action; @@ -1296,7 +1302,7 @@ sub _stats_start_execute { sub _stats_finish_execute { my ( $c, $info ) = @_; - $c->stats->profile(end => $info); + $c->stats->profile( end => $info ); } =head2 $c->_localize_fields( sub { }, \%keys );