fix variable definition bug

This commit is contained in:
Alan Hamlett 2013-12-13 15:41:45 +01:00
parent d9cc911595
commit 7a2c2b9750

View file

@ -311,7 +311,7 @@ def main(argv=None):
project = find_project(args.targetFile, configs=configs) project = find_project(args.targetFile, configs=configs)
branch = None branch = None
name = None project_name = None
if project: if project:
branch = project.branch() branch = project.branch()
project_name = project.name() project_name = project.name()