]> arthur.barton.de Git - bup.git/commit - lib/bup/helpers.py
Avoid len as a variable name
authorGabriel Filion <lelutin@gmail.com>
Fri, 30 Apr 2010 05:53:12 +0000 (01:53 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 30 Apr 2010 06:07:49 +0000 (02:07 -0400)
commit701d1d38e56e3a3227114f3ab7e12ff2834e3bdf
tree2a9c49b4b256f2d5161b0af6377b998107224eb5
parent17aacd6cf4b749e189e1f869daa98d0ffef9dc7d
Avoid len as a variable name

As discussed earlier on the mailing list, the "len" builtin is used very
often, and using "len" as a variable name can get confusing.

Change all occurrences of "len" as a variable to "sz" to keep it short
and meaningful.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
lib/bup/helpers.py