Merge pull request #303 from cgjones/master

Fix bug in ref-updating code
This commit is contained in:
Andreas Gal 2011-08-06 05:49:13 -07:00
commit e2ed5d28a6

View File

@ -469,7 +469,7 @@ def maybeUpdateRefImages(options, browser):
else: else:
print ' Yes! The references in tmp/ can be synced with ref/.' print ' Yes! The references in tmp/ can be synced with ref/.'
if options.reftest: if options.reftest:
startReftest(browser) startReftest(browser, options)
if not prompt('Would you like to update the master copy in ref/?'): if not prompt('Would you like to update the master copy in ref/?'):
print ' OK, not updating.' print ' OK, not updating.'
else: else: