projects
/
contrib
/
cloudeebus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3830e8
)
dbus service: XML parsing, force 'direction' attribute of 'arg' as in if not defined
author
Frederic PAUT
<frederic.paut@linux.intel.com>
Thu, 21 Mar 2013 13:29:36 +0000
(14:29 +0100)
committer
Frederic PAUT
<frederic.paut@linux.intel.com>
Thu, 21 Mar 2013 13:29:36 +0000
(14:29 +0100)
cloudeebus/cloudeebus.py
patch
|
blob
|
history
diff --git
a/cloudeebus/cloudeebus.py
b/cloudeebus/cloudeebus.py
index
59d6d45
..
6f46a85
100755
(executable)
--- a/
cloudeebus/cloudeebus.py
+++ b/
cloudeebus/cloudeebus.py
@@
-235,6
+235,8
@@
class XmlCb_Parser: # The target object of the parser
# Set signature (in/out & name) for method
if (tag == 'arg'):
if (self.current == 'method'):
+ if (attrib.has_key('direction') == False):
+ attrib['direction'] = "in"
self.dynDBusClass.add_signature(attrib['name'],
attrib['direction'],
attrib['type'])