diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-19 15:33:31 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-19 15:34:01 +0000 |
commit | b65e8ec5931afbfcb29482db5a3afb9a752166cf (patch) | |
tree | 4eecc2d466e0e7d68e2a73c348c9051a36df9fbd /bitbake-dev/lib/bb/server | |
parent | 43788606bda9bef3e0c796271af8a03e01d9853d (diff) | |
download | openembedded-core-b65e8ec5931afbfcb29482db5a3afb9a752166cf.tar.gz openembedded-core-b65e8ec5931afbfcb29482db5a3afb9a752166cf.tar.bz2 openembedded-core-b65e8ec5931afbfcb29482db5a3afb9a752166cf.zip |
bitbake-dev: Sync again with upstream after fixes from Poky bitbake 1.8 were merged
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/server')
-rw-r--r-- | bitbake-dev/lib/bb/server/xmlrpc.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/server/xmlrpc.py b/bitbake-dev/lib/bb/server/xmlrpc.py index b4d69f7be3..3364918c77 100644 --- a/bitbake-dev/lib/bb/server/xmlrpc.py +++ b/bitbake-dev/lib/bb/server/xmlrpc.py @@ -32,7 +32,7 @@ """ import bb -import xmlrpclib +import xmlrpclib, sys from bb import daemonize from bb.ui import uievent @@ -41,6 +41,10 @@ DEBUG = False from SimpleXMLRPCServer import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler import inspect, select +if sys.hexversion < 0x020600F0: + print "Sorry, python 2.6 or later is required for bitbake's XMLRPC mode" + sys.exit(1) + class BitBakeServerCommands(): def __init__(self, server, cooker): self.cooker = cooker |