diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-23 16:44:55 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-23 16:44:55 -0500 |
commit | 606a11d1b0a415d0b24cc56634660be2a985bb7c (patch) | |
tree | 93be3fcb9f467058e5417f07f590806da2ca426f /libbe/command | |
parent | 82cbdccfcd10e9b61e234c80e2a6d3703b2c93a2 (diff) | |
download | bugseverywhere-606a11d1b0a415d0b24cc56634660be2a985bb7c.tar.gz |
Fix broken handling of non-text/plain comments
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/comment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/comment.py b/libbe/command/comment.py index b82576a..cb46398 100644 --- a/libbe/command/comment.py +++ b/libbe/command/comment.py @@ -150,7 +150,7 @@ class Comment (libbe.command.Command): new = parent.new_reply(body=body) for key in ['alt-id', 'author', 'content-type']: if params[key] != None: - setattr(new, key, params[key]) + setattr(new, new._setting_name_to_attr_name(key), params[key]) print >> self.stdout, 'Created comment with ID %s' % new.id.user() return 0 |