aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorShawn J. Goff <shawn.goff@accelecon.com>2012-12-17 16:29:17 -0500
committerDan Williams <dcbw@redhat.com>2012-12-17 17:00:20 -0600
commit725ef97dfd7f219c7b7baaddada20f671fe39e68 (patch)
treea939301528b8c276143e6ca6b4a40ac4c92ce349 /build-aux
parent2a9bb58bd284d228a349b918d5f352cdffc8a1ad (diff)
downloadexternal_libqmi-725ef97dfd7f219c7b7baaddada20f671fe39e68.zip
external_libqmi-725ef97dfd7f219c7b7baaddada20f671fe39e68.tar.gz
external_libqmi-725ef97dfd7f219c7b7baaddada20f671fe39e68.tar.bz2
qmi-codegen python3: change string.lower(str) to str.lower()
The string.lower(str) class method is no longer available. sed regex: s/string\.lower(\(.*\))/\1.lower()/
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'