This commit is contained in:
Andrei V. Ostapenko 2014-05-19 00:15:07 +03:00
parent e3fda84a67
commit 1e0cda7df4
1 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,8 @@ class BatchWrite(magnetodbv1.ListCommand):
def call_server(self, magnetodb_client, name, parsed_args, body):
obj_shower = getattr(magnetodb_client, self.method)
data = obj_shower(body)
if not data['unprocessed_items']:
self.success_message = ''
return data
def _get_info(self, data, parsed_args):