diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2016-09-28 13:18:21 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2016-10-07 21:07:14 +0900 |
commit | e7fd05f050a7c1b96b9d873dc824076a8b881c5e (patch) | |
tree | dfc8629b88e5a1a329d74514c4e1905e42764976 | |
parent | ef767aed1fc86c5b601fb3ad0d1e29a4090831f3 (diff) | |
download | automotive-message-broker-e7fd05f050a7c1b96b9d873dc824076a8b881c5e.tar.gz |
ambctl: fix error when running 'ambctl listen'
When running 'ambctl listen' command, below error occurs.
-----------------------------------------------------------
$ ambctl listen VehicleSpeed
File "/usr/local/bin/ambctl", line 567, in <module>
processCommand(args.command, args.commandArgs, False)
File "/usr/local/bin/ambctl", line 218, in processCommand
traceback.print_stack()
-----------------------------------------------------------
This is mainly because gobject is replaced with gi.repository module so
it should be GObject not gobject.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rw-r--r-- | tools/ambctl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ambctl.py b/tools/ambctl.py index cb091a73..8cf0dfe2 100644 --- a/tools/ambctl.py +++ b/tools/ambctl.py @@ -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 |