aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/comment.py
diff options
context:
space:
mode:
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