python: Make Database take unicode paths
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 5 Sep 2011 13:52:12 +0000 (15:52 +0200)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 5 Sep 2011 13:52:12 +0000 (15:52 +0200)
commite2e0d487bab0d9b54172e73248b3099825de0479
tree784957ceb776902c719e5786d50e4c8d45841627
parent5dc189c82df35bafa54766fc8747ab46be8a9311
python: Make Database take unicode paths

Decode and Encode from/to unicode objects as required to be able to take
unicode path names. Previously we would error out when an unicode object
were handed it.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
bindings/python/notmuch/database.py