Merge "Creating task with invalid property crashes in py3"
This commit is contained in:
@@ -110,7 +110,7 @@ class Controller(object):
|
||||
try:
|
||||
setattr(task, key, value)
|
||||
except warlock.InvalidOperation as e:
|
||||
raise TypeError(unicode(e))
|
||||
raise TypeError(utils.exception_to_str(e))
|
||||
|
||||
resp, body = self.http_client.post(url, data=task)
|
||||
#NOTE(flwang): remove 'self' for now until we have an elegant
|
||||
|
||||
Reference in New Issue
Block a user