diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-27 20:49:17 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-27 20:49:17 +0100 |
commit | f8e82fa902ac3b9d7d460ff6cfec3513fd90a245 (patch) | |
tree | 3b14d2df0e80c15eb4cb9154718cf2708502af51 | |
parent | 252f50c822000f568d68b96a70e74e456834a54c (diff) | |
download | neard-f8e82fa902ac3b9d7d460ff6cfec3513fd90a245.tar.gz neard-f8e82fa902ac3b9d7d460ff6cfec3513fd90a245.tar.bz2 neard-f8e82fa902ac3b9d7d460ff6cfec3513fd90a245.zip |
test: Use system bus when publishing a record
-rwxr-xr-x | test/publish-text-record | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/publish-text-record b/test/publish-text-record index af5abe4..bdddc1e 100755 --- a/test/publish-text-record +++ b/test/publish-text-record @@ -8,7 +8,7 @@ if len(sys.argv) < 5: print "e.g. <./add-text-record /org/neard/nfc0 UTF-8 en-US hello,Type2! >" sys.exit(1) -bus = dbus.SessionBus() +bus = dbus.SystemBus() adapter = dbus.Interface(bus.get_object("org.neard", sys.argv[1]), "org.neard.Adapter") |