Fix missing changes in ambctl 45/84545/1
authorSuchang Woo <suchang.woo@samsung.com>
Fri, 19 Aug 2016 06:41:52 +0000 (15:41 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Fri, 19 Aug 2016 07:02:16 +0000 (16:02 +0900)
gobject is replaced with gi.repository module. It should be GObject not
gobject.

Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: I2b0e059833afe78816dc66cee9ea295d942e77bf

tools/ambctl.py

index cb091a7..8cf0dfe 100644 (file)
@@ -210,7 +210,7 @@ def processCommand(command, commandArgs, noMain=True):
                                                pass
                if not noMain == True:
                        try:
-                               main_loop = gobject.MainLoop(None, False)
+                               main_loop = GObject.MainLoop()
                                main_loop.run()
                        except KeyboardInterrupt:
                                return 1