projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c1958
)
codegen: direction defaults to "in"
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Tue, 31 Dec 2013 20:13:06 +0000
(15:13 -0500)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Tue, 31 Dec 2013 20:39:02 +0000
(15:39 -0500)
gio/gdbus-2.0/codegen/parser.py
patch
|
blob
|
history
diff --git
a/gio/gdbus-2.0/codegen/parser.py
b/gio/gdbus-2.0/codegen/parser.py
index 7b9d216beb71cbdaa5e70aadc336fdaf090904ad..f8f022aa894fc75e213e02093b167cebb1fd5b4a 100644
(file)
--- a/
gio/gdbus-2.0/codegen/parser.py
+++ b/
gio/gdbus-2.0/codegen/parser.py
@@
-197,7
+197,7
@@
class DBusXMLParser:
if 'name' in attrs:
arg_name = attrs['name']
arg = dbustypes.Arg(arg_name, attrs['type'])
- direction = attrs
['direction']
+ direction = attrs
.get('direction', 'in')
if direction == 'in':
self._cur_object.in_args.append(arg)
elif direction == 'out':