diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-05 13:01:49 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-23 12:51:47 +0200 |
commit | 3b7620a1286e731d345faf8e50fd32c570c696d3 (patch) | |
tree | c9abfed4e68b9d08f5b2220a2ddbfde9bf953f12 /build-aux | |
parent | 6423f5b9aab662457e2176f38b8073dba91e2ade (diff) | |
download | external_libqmi-3b7620a1286e731d345faf8e50fd32c570c696d3.zip external_libqmi-3b7620a1286e731d345faf8e50fd32c570c696d3.tar.gz external_libqmi-3b7620a1286e731d345faf8e50fd32c570c696d3.tar.bz2 |
qmi-codegen: trivial fix, renamed internal method
TLVs are either input or output, not always output.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/qmi-codegen/Field.py | 2 | ||||
-rw-r--r-- | build-aux/qmi-codegen/FieldResult.py | 2 | ||||
-rw-r--r-- | build-aux/qmi-codegen/Message.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/build-aux/qmi-codegen/Field.py b/build-aux/qmi-codegen/Field.py index f9a8a46..818266b 100644 --- a/build-aux/qmi-codegen/Field.py +++ b/build-aux/qmi-codegen/Field.py @@ -309,7 +309,7 @@ class Field: """ Emit the method responsible for creating a printable representation of the TLV """ - def emit_output_tlv_get_printable(self, f): + def emit_tlv_get_printable(self, f): if TypeFactory.is_get_printable_emitted(self.fullname): return diff --git a/build-aux/qmi-codegen/FieldResult.py b/build-aux/qmi-codegen/FieldResult.py index eada8d9..87c1012 100644 --- a/build-aux/qmi-codegen/FieldResult.py +++ b/build-aux/qmi-codegen/FieldResult.py @@ -107,7 +107,7 @@ class FieldResult(Field): Emit the method responsible for getting a printable representation of this TLV field. """ - def emit_output_tlv_get_printable(self, f): + def emit_tlv_get_printable(self, f): if TypeFactory.is_get_printable_emitted(self.fullname): return diff --git a/build-aux/qmi-codegen/Message.py b/build-aux/qmi-codegen/Message.py index 199b57d..bb562aa 100644 --- a/build-aux/qmi-codegen/Message.py +++ b/build-aux/qmi-codegen/Message.py @@ -244,9 +244,9 @@ class Message: if self.input.fields is not None: for field in self.input.fields: - field.emit_output_tlv_get_printable(cfile) + field.emit_tlv_get_printable(cfile) for field in self.output.fields: - field.emit_output_tlv_get_printable(cfile) + field.emit_tlv_get_printable(cfile) translations = { 'name' : self.name, 'service' : self.service, |