~dwa/libqmi/debian

Viewing all changes in revision 579.

  • 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(/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: