diff --git a/bin/cbuildbot.py b/bin/cbuildbot.py index c595b27c5d..d09529ef48 100755 --- a/bin/cbuildbot.py +++ b/bin/cbuildbot.py @@ -107,7 +107,7 @@ def _UprevAllPackages(buildroot): def _UprevPackages(buildroot, revisionfile): revisions = None - if (revision_file): + if (revisionfile): rev_file = revisionfile.open(revisionfile) revisions = rev_file.read() rev_file.close()