comparison Lib/Deployment/Batch/Generic.pm @ 49:16ada169ca75

migrating to the Eclipse IDE
author wizard@linux-odin.local
date Fri, 26 Feb 2010 10:49:21 +0300
parents 03e58a454b20
children
comparison
equal deleted inserted replaced
48:1c3c3e63a314 49:16ada169ca75
24 }; 24 };
25 $this->Log("completed in ",Time::HiRes::tv_interval($t0)," s"); 25 $this->Log("completed in ",Time::HiRes::tv_interval($t0)," s");
26 26
27 if ($@) { 27 if ($@) {
28 $this->{$LastError} = $@; 28 $this->{$LastError} = $@;
29 Deployment::Batch::Rollback; # rallback nested actions 29 Deployment::Batch::Rollback(); # rallback nested actions
30 return 0; 30 return 0;
31 } 31 }
32 32
33 $this->{$LocalHistory} = \@history; 33 $this->{$LocalHistory} = \@history;
34 $this->{$isProcessed} = 1; 34 $this->{$isProcessed} = 1;
56 56
57 $this->{$isProcessed} = 0; 57 $this->{$isProcessed} = 0;
58 58
59 if ($this->{$LocalHistory}) { 59 if ($this->{$LocalHistory}) {
60 local @history = @{$this->{$LocalHistory}}; 60 local @history = @{$this->{$LocalHistory}};
61 Deployment::Batch::Rollback; 61 Deployment::Batch::Rollback();
62 } 62 }
63 63
64 return 1; 64 return 1;
65 } 65 }
66 66