]> git.mjollnir.org Git - cil.git/commitdiff
Remove tabs from source code
authorAndrew Chilton <andychilton@gmail.com>
Sun, 7 Sep 2008 10:46:57 +0000 (22:46 +1200)
committerAndrew Chilton <andychilton@gmail.com>
Sun, 7 Sep 2008 10:46:57 +0000 (22:46 +1200)
lib/CIL.pm

index 4c167a7f53e4d9fec85c8e36ecf652025299f7eb..02ddb31aa85f426f65ce4181164e5b3ba1aac311 100644 (file)
@@ -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;
     }
 }