Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge from default

--HG--
branch : production-0.8
  • Loading branch information...
commit 99f3e0bc2d60be8a39f0316b1680c4aee15c9bd6 2 parents 29c5ab9 + b3f62db
authored August 04, 2011

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  steps/release.py
6  steps/release.py
@@ -30,10 +30,12 @@ def __init__(self,
30 30
                  previousProduct=None,
31 31
                  **kwargs):
32 32
         self.super_class = TinderboxShellCommand
33  
-        self.super_class.__init__(self, ignoreCodes=[0,1], **kwargs)
  33
+        kwargs['ignoreCodes'] = [0,1]
  34
+        kwargs['log_eval_func'] = lambda x,y: SUCCESS
  35
+        self.super_class.__init__(self, **kwargs)
34 36
         self.addFactoryArguments(currentProduct=currentProduct,
35 37
                                  previousProduct=previousProduct)
36  
-        if not 'command' in kwargs:
  38
+        if not kwargs.get('command'):
37 39
             if currentProduct is None:
38 40
                 return FAILURE
39 41
             if previousProduct is None:

0 notes on commit 99f3e0b

Please sign in to comment.
Something went wrong with that request. Please try again.