Change byte sequences to unicode sequences in ConfigManager
commit2359cbaadf0841be8162924cdcc446fcab66965e
authorSean Robinson <robinson@tuxfamily.org>
Sun, 13 Apr 2014 14:00:13 +0000 (13 07:00 -0700)
committerSean Robinson <robinson@tuxfamily.org>
Sun, 13 Apr 2014 14:00:13 +0000 (13 07:00 -0700)
treef518c46657452763ad6cbff2dde5842ef11b4819
parent4f1f4d1535075a604bb7641c97499a2e13d0731e
Change byte sequences to unicode sequences in ConfigManager

There are three parts to this: 1) remove isinstance test in set_opt
because SafeConfigParser already checks the type; 2) expand StringType
to StringTypes in set_bool_opt; 3) use unicode built-in function.

Signed-off-by: Sean Robinson <robinson@tuxfamily.org>
wifiradar/config.py