diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-09-08 21:37:27 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-12 19:25:57 +0000 |
commit | 93d0cf0536411f6ddd7dac1bf3b1534e3abf96ac (patch) | |
tree | d42e7aea65ac6f9f71d6ecebab26f725f78762e9 | |
parent | 4234e718c20746851b74e95e4531504a245b9036 (diff) | |
download | pyphosphor-93d0cf0536411f6ddd7dac1bf3b1534e3abf96ac.tar.gz pyphosphor-93d0cf0536411f6ddd7dac1bf3b1534e3abf96ac.zip |
bindings: remove unused methods
Change-Id: I99eb622d963d9bb8df6fd9072c482f71c8e881c2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | obmc/dbuslib/bindings.py | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/obmc/dbuslib/bindings.py b/obmc/dbuslib/bindings.py index bced585..f3502cd 100644 --- a/obmc/dbuslib/bindings.py +++ b/obmc/dbuslib/bindings.py @@ -16,28 +16,15 @@ import dbus -BUS_PREFIX = 'org.openbmc' -OBJ_PREFIX = "/org/openbmc" -BUS = "system" +OBJ_PREFIX = '/org/openbmc' def is_unique(connection): return connection[0] == ':' -def get_system_name(): - #use filename as system name, strip off path and ext - parts = __file__.replace('.pyc', '').replace('.py', '').split('/') - return parts[len(parts)-1] - - def get_dbus(): - bus = None - if (BUS == "session"): - bus = dbus.SessionBus() - else: - bus = dbus.SystemBus() - return bus + return dbus.SystemBus() class DbusProperties(dbus.service.Object): |