diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/bbcontroller.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/bbcontroller.py b/bitbake/lib/toaster/bldcontrol/bbcontroller.py index 9bddadbf19..912f67bf8c 100644 --- a/bitbake/lib/toaster/bldcontrol/bbcontroller.py +++ b/bitbake/lib/toaster/bldcontrol/bbcontroller.py | |||
@@ -30,7 +30,6 @@ from bldcontrol.models import BuildEnvironment, BRLayer, BRVariable, BRTarget, B | |||
30 | # load Bitbake components | 30 | # load Bitbake components |
31 | path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) | 31 | path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) |
32 | sys.path.insert(0, path) | 32 | sys.path.insert(0, path) |
33 | import bb.server.xmlrpc | ||
34 | 33 | ||
35 | class BitbakeController(object): | 34 | class BitbakeController(object): |
36 | """ This is the basic class that controlls a bitbake server. | 35 | """ This is the basic class that controlls a bitbake server. |
@@ -38,6 +37,7 @@ class BitbakeController(object): | |||
38 | """ | 37 | """ |
39 | 38 | ||
40 | def __init__(self, be): | 39 | def __init__(self, be): |
40 | import bb.server.xmlrpc | ||
41 | self.connection = bb.server.xmlrpc._create_server(be.bbaddress, | 41 | self.connection = bb.server.xmlrpc._create_server(be.bbaddress, |
42 | int(be.bbport))[0] | 42 | int(be.bbport))[0] |
43 | 43 | ||