From 69a3e4895b88110fd3a25167aa16cf7c00463175 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 8 Apr 2010 15:11:28 -0700 Subject: Initialize pkgs_to_build in the BBConfiguration constructor Signed-off-by: Chris Larson --- bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bitbake b/bin/bitbake index 1a45ec4f7..a5b94bab2 100755 --- a/bin/bitbake +++ b/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 -- cgit 1.2.3-korg