Commit 4036206a authored by Jim Fulton's avatar Jim Fulton

error-message typo

parent 8f507c4f
......@@ -136,7 +136,7 @@ class Transaction(object):
@user.setter
def user(self, v):
if not isinstance(v, text_type):
raise TypeError("User must be text (unicodd)")
raise TypeError("User must be text (unicode)")
self._user = v
@property
......@@ -146,7 +146,7 @@ class Transaction(object):
@description.setter
def description(self, v):
if not isinstance(v, text_type):
raise TypeError("Description must be text (unicodd)")
raise TypeError("Description must be text (unicode)")
self._description = v
def isDoomed(self):
......@@ -534,7 +534,7 @@ class Transaction(object):
""" See ITransaction.
"""
if not isinstance(text, text_type):
raise TypeError("Note must be text (unicodd)")
raise TypeError("Note must be text (unicode)")
text = text.strip()
if self.description:
......@@ -546,9 +546,9 @@ class Transaction(object):
""" See ITransaction.
"""
if not isinstance(user_name, text_type):
raise TypeError("User name must be text (unicodd)")
raise TypeError("User name must be text (unicode)")
if not isinstance(path, text_type):
raise TypeError("User name must be text (unicodd)")
raise TypeError("User name must be text (unicode)")
self.user = u"%s %s" % (path, user_name)
def setExtendedInfo(self, name, value):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment