-
Committer:
Dan Williams
-
Author(s):
Shawn J. Goff
-
Date:
2012-12-17 22:59:35 UTC
-
Revision ID:
git-v1:31e3155c414d8d4c7e3ec5d9f0d75d37c6ee1c79
qmi-codegen python3: change string.replace() class method use to str.replace() instance method
Python 3 doesn't support the replace class method; it's now an instance method only.
string.replace(object, old, new) changes to object.replace(old, new)
sed:
s/string\.replace(\([^,]*\), /\1.replace(/