diff options
author | Shawn J. Goff <shawn.goff@accelecon.com> | 2012-12-17 16:29:17 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-12-17 17:00:20 -0600 |
commit | 725ef97dfd7f219c7b7baaddada20f671fe39e68 (patch) | |
tree | a939301528b8c276143e6ca6b4a40ac4c92ce349 /build-aux | |
parent | 2a9bb58bd284d228a349b918d5f352cdffc8a1ad (diff) |
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.py | 4 |
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' |