##// END OF EJS Templates
base85: avoid a spurious use-before-initialized warning in `pure` module...
base85: avoid a spurious use-before-initialized warning in `pure` module The error wasn't possible because the only way for `acc` to not be initialized was if `len(text) == 0`. But then `0 % 5 == 0`, so no attempt at padding was done. It's a simple enough fix to not have PyCharm flag this though. The value needs to be reset on each loop iteration, so it's a line copy, not a line move.
Matt Harbison -
r52830:936f85b2 default
Show More
Name Size Modified Last Commit Author
/ mercurial / upgrade_utils
__init__.py Loading ...
actions.py Loading ...
auto_upgrade.py Loading ...
engine.py Loading ...