From: Andrew Chilton Date: Sun, 7 Sep 2008 10:46:57 +0000 (+1200) Subject: Remove tabs from source code X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0a8ff8e9195b237dac46a56df432e07e077295ad;p=cil.git Remove tabs from source code --- diff --git a/lib/CIL.pm b/lib/CIL.pm index 4c167a7..02ddb31 100644 --- a/lib/CIL.pm +++ b/lib/CIL.pm @@ -90,10 +90,10 @@ sub list_entities { my $globpath = $self->IssueDir . "/${prefix}_${base}*.cil"; my @filenames; if ( $self->vcs_revision ) { - @filenames = $self->vcs->glob_rev($self->vcs_revision, $globpath); + @filenames = $self->vcs->glob_rev($self->vcs_revision, $globpath); } else { - @filenames = bsd_glob($globpath); + @filenames = bsd_glob($globpath); } my @entities; @@ -284,10 +284,10 @@ sub check_args { my ($self, $args) = @_; if ( $args->{r} ) { - $self->vcs_revision($args->{r}); - if ( !$self->VCS or $self->VCS eq "Null" ) { - warn "No VCS set in config file!\n"; - } + $self->vcs_revision($args->{r}); + if ( !$self->VCS or $self->VCS eq "Null" ) { + warn "No VCS set in config file!\n"; + } } } @@ -322,10 +322,10 @@ sub run_hook { sub file_exists { my ($self, $filename) = @_; if ( $self->vcs_revision ) { - $self->vcs->file_exists($self->vcs_revision, $filename); + $self->vcs->file_exists($self->vcs_revision, $filename); } else { - -f $filename; + -f $filename; } }