Fix ref before assign errors in solr module

This commit is contained in:
Thomas S Hatch 2013-03-28 16:15:40 -06:00
parent de86ee6fa4
commit 8cb4ff9625

View File

@ -784,7 +784,7 @@ def replication_details(host=None, core_name=None):
else:
resp = _replication_request('details', host=host, core_name=core_name)
if resp['success']:
ret = _update_return_dict(ret, success, resp['data'],
ret = _update_return_dict(ret, resp['success'], resp['data'],
resp['errors'], resp['warnings'])
else:
return resp
@ -890,7 +890,7 @@ def set_is_polling(polling, host=None, core_name=None):
resp['errors'], resp['warnings'])
return ret
else:
resp = _replication_request(cmd, host=host, core_name=name)
resp = _replication_request(cmd, host=host, core_name=core_name)
return resp