aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/qmi-codegen/MessageList.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/qmi-codegen/MessageList.py b/build-aux/qmi-codegen/MessageList.py
index ac375fe..c3207d5 100644
--- a/build-aux/qmi-codegen/MessageList.py
+++ b/build-aux/qmi-codegen/MessageList.py
@@ -109,7 +109,7 @@ class MessageList:
messages of a given service.
"""
def __emit_get_printable(self, hfile, cfile):
- translations = { 'service' : string.lower(self.service) }
+ translations = { 'service' : self.service.lower() }
template = (
'\n'
@@ -175,7 +175,7 @@ class MessageList:
introduced.
"""
def __emit_get_version_introduced(self, hfile, cfile):
- translations = { 'service' : string.lower(self.service) }
+ translations = { 'service' : self.service.lower() }
template = (
'\n'