fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wl style for XeLaTeX is now a class. Accepts several parameters affecting output...
[librarian.git]
/
librarian
/
__init__.py
diff --git
a/librarian/__init__.py
b/librarian/__init__.py
index
5c4a355
..
5b6981d
100644
(file)
--- a/
librarian/__init__.py
+++ b/
librarian/__init__.py
@@
-6,7
+6,13
@@
import os
class ParseError(Exception):
import os
class ParseError(Exception):
- pass
+ def __str__(self):
+ """ Dirty workaround for Python Unicode handling problems. """
+ return self.message.message
+
+ def __unicode__(self):
+ """ Dirty workaround for Python Unicode handling problems. """
+ return self.message.message
class ValidationError(Exception):
pass
class ValidationError(Exception):
pass