Changeset 2048

Show
Ignore:
Timestamp:
11/11/08 07:10:59
Author:
otsune
Message:

Added "no critic" comment to pass t/99-perlcritic. (via http://gist.github.com/10825 )
fix bug. (via http://d.hatena.ne.jp/h3x/20081104/1225811113 )

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/ConfigLoader.pm

    r1676 r2048  
    6666 
    6767    for (@{ $config->{recipes} }) { 
    68         $self->error("no such recipe to $_") unless $config->{define_recipes}->{$_}; 
     68        Plagger->context->error("no such recipe to $_") unless $config->{define_recipes}->{$_}; 
    6969        my $plugin = $config->{define_recipes}->{$_}; 
    7070        $plugin = [ $plugin ] unless ref($plugin) eq 'ARRAY'; 
  • trunk/plagger/lib/Plagger/Plugin/Filter/FetchEnclosure/Xango.pm

    r873 r2048  
    77use strict; 
    88use base qw(Plagger::Plugin::Filter::FetchEnclosure); 
    9 BEGIN { sub Xango::DEBUG{ 1 } } 
     9BEGIN { 
     10    sub Xango::DEBUG{ 1 } ## no critic (ProhibitNestedSubs) 
     11
    1012use Xango::Broker::Push; 
    1113