summaryrefslogtreecommitdiffstats
path: root/obmc/utils/misc.py
Commit message (Collapse)AuthorAgeFilesLines
* utils: Remove ListMatchBrad Bishop2018-04-041-8/+0
| | | | | | | | This is a pointless class given python lambdas. It was also broken with aea38c65. Drop. Change-Id: Ib269fee1b09cd04defe6ec98c2f5dc4118d5425e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Enable pycodestyleBrad Bishop2018-03-291-2/+3
| | | | | | | Apply fix-ups and run pycodestyle during CI testing. Change-Id: I1005495b11e228abdc8d40a51dbf81c4a6e6c92c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* utils: add prefixBrad Bishop2016-09-201-4/+4
| | | | | | | | Allow some composition of the strings returned by org_dot_openbmc_match_strings. Signed-off-by: Brad Bishop <bradleyb Change-Id: I8e6a522af175bba70aedbfb4f5a65e06b9237598
* utils: match parentsBrad Bishop2016-09-201-1/+2
| | | | | | | | Match parents like '/org' in addition to '/org/openbmc/foo' when testing with org_dot_openbmc_match. Change-Id: I707f1de0367bfad0de4afa4436b10203c0d7f852 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* utils: provide dbus match stringsBrad Bishop2016-09-201-4/+8
| | | | | | | | Provide a list of name filters, suitable for use with dbus interface/path name matching. Change-Id: I47a3be43e4460e35ec457436300fac82eb18a03f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove Path classBrad Bishop2016-09-081-23/+0
| | | | | | | Unused, and os.path should be favored anyway. Change-Id: I9ba718e15695d9e14b8893ef09721fb4f90c2b85 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add xyz.openbmc-project to interface matchBrad Bishop2016-09-081-2/+7
| | | | | | | In preparation for migration to xyz.openbmc-project. Change-Id: Ia134de704affb3b51726790ea38b9b36bdda16b1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Introducing pyobmcBrad Bishop2016-04-151-0/+63
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