Permalink
Browse files

Fix missing parameter in update()

  • Loading branch information...
1 parent 29be370 commit a0f477432379e3283e5122c76a6fc5aaad7ae6a0 Toby White committed Jan 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sunburnt/sunburnt.py
View
@@ -52,7 +52,7 @@ def optimize(self, waitSearcher=None, maxSegments=None):
def rollback(self):
response = self.update("<rollback/>")
- def update(self, **kwargs):
+ def update(self, update_doc, **kwargs):
body = update_doc
if body:
headers = {"Content-Type":"text/xml; charset=utf-8"}

0 comments on commit a0f4774

Please sign in to comment.