808aaa1eef26

Fix a signoff bug.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 04 Oct 2009 20:43:42 -0400
parents 1280679a055d
children bc3aa7a206f0
branches/tags (none)
files review/api.py review/extension_ui.py

Changes

--- a/review/api.py	Sun Oct 04 20:36:49 2009 -0400
+++ b/review/api.py	Sun Oct 04 20:43:42 2009 -0400
@@ -180,7 +180,7 @@
 class ReviewSignoff(_ReviewObject):
     '''A single review signoff.'''
     def __init__(self, author, datetime, node, opinion, message, **extra):
-        super(ReviewComment, self).__init__(
+        super(ReviewSignoff, self).__init__(
             container='signoffs', commit_message=messages.COMMIT_SIGNOFF,
         )
         self.author = author
--- a/review/extension_ui.py	Sun Oct 04 20:36:49 2009 -0400
+++ b/review/extension_ui.py	Sun Oct 04 20:43:42 2009 -0400
@@ -66,7 +66,6 @@
 def review(ui, repo, *fnames, **opts):
     '''code review a changeset in the current repository
     '''
-    print opts
     if opts.pop('init'):
         return _init_command(ui, repo, **opts)
     elif opts.pop('comment'):