]> arthur.barton.de Git - bup.git/commit
code clarity: one-letter var carried for too long bup-0.14a
authorGabriel Filion <lelutin@gmail.com>
Fri, 30 Apr 2010 05:53:13 +0000 (01:53 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 30 Apr 2010 06:07:49 +0000 (02:07 -0400)
commitddf85b1ba304c0ca1e6125ae1650531db5227e11
tree62f29e020298ca24c1f525f948d12adb4f6f8932
parent701d1d38e56e3a3227114f3ab7e12ff2834e3bdf
code clarity: one-letter var carried for too long

In split-cmd.py, the "w" variable is first seen on line 55 and is kept
around until line 96. Variables that are sparsely used in a medium
distance in the code should have a name that carries more sense when
read on its own.

Change "w" into "pack_writer" to better identify the purpose of the
variable.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
cmd/split-cmd.py