summaryrefslogtreecommitdiffstats
path: root/obmc/dbuslib/introspection.py
Commit message (Collapse)AuthorAgeFilesLines
* Port to python 3CamVan Nguyen2018-03-121-1/+1
| | | | | | | | Port code to python 3 yet remain backward compatible to python 2. This port is in preparation for yocto 2.4 upgrade. Change-Id: I564824b00c106a2c7ebd2f4a9607cd01eabf1322 Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
* Revert "Port obmc to python3.5"Brad Bishop2018-01-311-1/+1
| | | | | | | | | | Parse error with this change: TypeError: iter() returned non-iterator of type 'PathTreeItemIterator' This reverts commit f99783be6592130bbad2d0f69ada2b7ac61618f3. Change-Id: Id2b7f4af5284d25d59e19905c7b873726b02f700 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Port obmc to python3.5Balaji B Rao2018-01-301-1/+1
| | | | | Change-Id: I1ed6c6bd914635485a697369048a8be9e5919fc6 Signed-off-by: Balaji B Rao <balajibapu@gmail.com>
* Remove find_dbus_interfacesBrad Bishop2016-07-251-103/+0
| | | | | | | | | Waffling yet again on where this should be located. Move back to the mapper to discourage other applications from introspection and encourage use of the mapper. Change-Id: I78dc815baeb46d6b2d155d02318fba230d7420d2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Improve short-lived object handlingBrad Bishop2016-06-281-8/+46
| | | | | | | | | Its expected that services will appear on the bus and may or may not be around log enough for introspection to take place. Catch those exceptions and continue. Change-Id: I77963d5af9d8267d1813bd2197ff287f06f7d2cd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove unnecessary variableBrad Bishop2016-06-281-9/+9
| | | | | Change-Id: I64847ffa6a0078ce66c3117a51df0fd6188a0f8c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove name mangling from find_dbus_interfacesBrad Bishop2016-06-281-17/+17
| | | | | | | | | | | | | | | | Double underscore in Python mangles names and sometimes is used as a way to make things private; however, in general this isn't considered best practice and there isn't a compelling reason for it here. Rather, the convention for denoting a private interface is to use a single leading underscore. For more information: http://www.artima.com/weblogs/viewpost.jsp?thread=211430 Change-Id: Id42b0dc670dc1f90ed52f38ac98a82ff8214ee47 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add find_dbus_interfaces to introspection utilsBrad Bishop2016-06-281-2/+67
| | | | | | | This is a straight copy from phosphor-objmgr. Change-Id: I4792be46b755774af4a29cb1d603253738db3e4a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Introducing pyobmcBrad Bishop2016-04-151-0/+136
We have openbmc python utilities scattered all over the place. To facilitate reuse, bring them together in a single python package. None of this is new code, it was all simply ported and re-arranged from other projects. Ran everything through pep8.
OpenPOWER on IntegriCloud