From f51a6c4375c318cd1b12bf24a513b90ec0cf7b06 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Wed, 25 May 2005 21:55:06 +0000 Subject: Python 2.3.x compatibility fix --- lib/bb/shell.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/bb/shell.py b/lib/bb/shell.py index 4ca2ec760..9159bb12b 100644 --- a/lib/bb/shell.py +++ b/lib/bb/shell.py @@ -35,6 +35,10 @@ TODO: * clean-and-rebuild bbfile """ +try: + set +except NameError: + from sets import Set as set import sys, os, imp, readline imp.load_source( "bitbake", os.path.dirname( sys.argv[0] )+"/bitbake" ) from bb import make, data -- cgit 1.2.3-korg