Python 3.2 fixes

- Absolute imports
- Unicode strings
This commit is contained in:
medmunds
2013-01-12 11:45:44 -08:00
parent c550aacbb8
commit b4f2866f0f
3 changed files with 8 additions and 8 deletions

View File

@@ -52,8 +52,8 @@ class DjrillApiJsonObjectsMixin(object):
def get_api_uri(self):
if self.api_uri is None:
raise NotImplementedError(u"%(cls)s is missing an api_uri. Define "
u"%(cls)s.api_uri or override %(cls)s.get_api_uri()." % {
raise NotImplementedError("%(cls)s is missing an api_uri. Define "
"%(cls)s.api_uri or override %(cls)s.get_api_uri()." % {
"cls": self.__class__.__name__
})