diff options
author | Shawn O. Pearce <sop@google.com> | 2009-02-02 16:17:02 -0800 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-02-02 16:17:02 -0800 |
commit | a8e98a6962727969da9faa12658596c8b1a14baf (patch) | |
tree | 4666a12620fdc276f619714a88fc32d73bd49919 /froofle/protobuf/internal/decoder.py | |
parent | b54a392c9a267a06058b663377282c9dcec6878e (diff) | |
download | git-repo-a8e98a6962727969da9faa12658596c8b1a14baf.tar.gz |
Fix color parsing to not crash when user defined colors are setv1.5.1
We didn't use the right Python string methods to parse colors.
$ git config --global color.status.added yellow
managed to cause a stack trace due to undefined methods trim()
and lowercase(). Instead use strip() and lower().
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'froofle/protobuf/internal/decoder.py')
0 files changed, 0 insertions, 0 deletions