From 00e3915ca6b479f78177e16e27ff9ad8a7fbff02 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 8 Apr 2010 15:11:28 -0700 Subject: [PATCH] Initialize pkgs_to_build in the BBConfiguration constructor (Bitbake rev: 69a3e4895b88110fd3a25167aa16cf7c00463175) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 6d74e5b85d..cef59c9117 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -47,6 +47,7 @@ class BBConfiguration( object ): def __init__( self, options ): for key, val in options.__dict__.items(): setattr( self, key, val ) + self.pkgs_to_build = [] def print_exception(exc, value, tb): @@ -142,7 +143,6 @@ Default BBFILES are the .bb files in the current directory.""" ) options, args = parser.parse_args(sys.argv) configuration = BBConfiguration(options) - configuration.pkgs_to_build = [] configuration.pkgs_to_build.extend(args[1:]) #server = bb.server.xmlrpc