Permalink
Browse files

Merge from default

--HG--
branch : production-0.8
  • Loading branch information...
2 parents 29c5ab9 + b3f62db commit 99f3e0bc2d60be8a39f0316b1680c4aee15c9bd6 @nthomas-mozilla nthomas-mozilla committed Aug 4, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 steps/release.py
View
6 steps/release.py
@@ -30,10 +30,12 @@ def __init__(self,
previousProduct=None,
**kwargs):
self.super_class = TinderboxShellCommand
- self.super_class.__init__(self, ignoreCodes=[0,1], **kwargs)
+ kwargs['ignoreCodes'] = [0,1]
+ kwargs['log_eval_func'] = lambda x,y: SUCCESS
+ self.super_class.__init__(self, **kwargs)
self.addFactoryArguments(currentProduct=currentProduct,
previousProduct=previousProduct)
- if not 'command' in kwargs:
+ if not kwargs.get('command'):
if currentProduct is None:
return FAILURE
if previousProduct is None:

0 comments on commit 99f3e0b

Please sign in to comment.