chiark / gitweb /
Replace a variable that uses the same name as a built-in
authorChuck Lever <cel@netapp.com>
Wed, 2 Nov 2005 21:55:42 +0000 (16:55 -0500)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 4 Nov 2005 21:45:22 +0000 (21:45 +0000)
commit7cc615f31f10b3b5434f427c09a10a7dbbdd62db
tree5eec7c448d707af8311f1e5bdc6721dadae92c64
parent93aa248c1f7d093c77959a70942e1ae6208750c8
Replace a variable that uses the same name as a built-in

Maintainability: "str" hides the name of a Python built-in function
(found by pychecker).

I've also replaced the use of the variable "string" throughout, as it
hides the name of the Python 'string' module.

Signed-off-by: Chuck Lever <cel@netapp.com>
stgit/commands/common.py
stgit/commands/mail.py
stgit/git.py
stgit/stack.py
stgit/utils.py