aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/comment.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-23 16:44:55 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-23 16:44:55 -0500
commit606a11d1b0a415d0b24cc56634660be2a985bb7c (patch)
tree93be3fcb9f467058e5417f07f590806da2ca426f /libbe/command/comment.py
parent82cbdccfcd10e9b61e234c80e2a6d3703b2c93a2 (diff)
downloadbugseverywhere-606a11d1b0a415d0b24cc56634660be2a985bb7c.tar.gz
Fix broken handling of non-text/plain comments
Diffstat (limited to 'libbe/command/comment.py')
-rw-r--r--libbe/command/comment.py2
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