Shawn O. Pearce a8e98a6962 Fix color parsing to not crash when user defined colors are set
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>
2009-02-02 16:17:02 -08:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
2008-10-21 07:00:00 -07:00
S
Description
Cryptsetup是一个基于块设备加密内核模块,用于方便地设置磁盘加密的实用工具。Cryptsetup is utility used to conveniently setup disk encryption based on DMCrypt kernel module.
15 MiB
Languages
C 60.7%
Shell 27.6%
Makefile 7.9%
M4 3.8%