comparison mozillatry.py @ 47:8a76eb02a3ef

correct minor errors
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 24 Jan 2013 10:21:40 -0800
parents 9c3726a3d466
children 18643e92c91d
comparison
equal deleted inserted replaced
46:9c3726a3d466 47:8a76eb02a3ef
206 def push_to_try(self, patches, commit=None, repo=None): 206 def push_to_try(self, patches, commit=None, repo=None):
207 assert patches 207 assert patches
208 if commit is None: 208 if commit is None:
209 commit = self.try_syntax() 209 commit = self.try_syntax()
210 repo = repo or self.config['mozilla_central'] 210 repo = repo or self.config['mozilla_central']
211 push_to_try(patch=patches, repo=repo, commit=commit) 211 push_to_try(patches=patches, repo=repo, commit=commit)
212 212
213 def main(args=sys.argv[1:]): 213 def main(args=sys.argv[1:]):
214 214
215 # parse command line arguments 215 # parse command line arguments
216 mozillatry, options, args = MozillaTryConfiguration.main(args) 216 mozillatry, options, patches = MozillaTryConfiguration.main(args)
217 217
218 # get mozilla-central repository directory 218 # get mozilla-central repository directory
219 try_directory = options.mozilla_central 219 try_directory = options.mozilla_central
220 220
221 # build try syntax 221 # build try syntax