Skip to content

Commit

Permalink
fix NameError when config initialization fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Mar 11, 2010
1 parent f3041d0 commit 6a2df96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions buildbot/master.py
Expand Up @@ -483,6 +483,7 @@ def loadTheConfigFile(self, configFile=None):
log.err()
log.msg("The new config file is unusable, so I'll ignore it.")
log.msg("I will keep using the previous config file instead.")
return # sorry unit tests
f.close()
return d # for unit tests

Expand Down

0 comments on commit 6a2df96

Please sign in to comment.