]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/cooker.py: Fix merge conflict with upstream which was preventing clean bitbak...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jan 2011 13:54:50 +0000 (13:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jan 2011 13:54:50 +0000 (13:54 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py

index 23fd72f432639371c6db38daee02e6d4fedaf65c..e524db749822e967d2985a722e84ebba168bd781 100644 (file)
@@ -893,6 +893,11 @@ class BBCooker:
     def post_serve(self):
         bb.event.fire(CookerExit(), self.configuration.event_data)
 
+    def shutdown(self):
+        self.state = state.shutdown
+
+    def stop(self):
+        self.state = state.stop
 
 def server_main(cooker, func, *args):
     cooker.pre_serve()
@@ -935,12 +940,6 @@ def server_main(cooker, func, *args):
 
     return ret
 
-    def shutdown(self):
-        self.state = state.shutdown
-
-    def stop(self):
-        self.state = state.stop
-
 class CookerExit(bb.event.Event):
     """
     Notify clients of the Cooker shutdown