Fix logic for debug and uprev

BUG=chromium-os:8000
TEST=NA

Review URL: http://codereview.chromium.org/4007003
This commit is contained in:
Scott Zawalski 2010-10-20 22:36:37 -07:00
parent 2524a6d474
commit 9310bb6bd3

View File

@ -445,7 +445,7 @@ def main():
if buildconfig['uprev']: if buildconfig['uprev']:
# Don't push changes for developers. # Don't push changes for developers.
if options.debug: if not options.debug:
if buildconfig['master']: if buildconfig['master']:
# Master bot needs to check if the other slaves completed. # Master bot needs to check if the other slaves completed.
if cbuildbot_comm.HaveSlavesCompleted(config): if cbuildbot_comm.HaveSlavesCompleted(config):