Commit 35773a35 authored by Béla Vancsics's avatar Béla Vancsics

Remove unused variable

I removed the unused variables in code

Change-Id: Ie2250ae28e0ffaf97c92205d5e2f2da38c9afef1
parent d3c485c0
......@@ -385,7 +385,7 @@ def deserialize_entry(entry, get_raw_meta=True):
metadata = metadata_flattened
return flatten_result, sources, meters, metadata
return flatten_result, meters, metadata
def serialize_entry(data=None, **kwargs):
......@@ -214,7 +214,7 @@ class Connection(hbase_base.Connection, base.Connection):
LOG.debug("Query Resource table: %s", q)
for resource_id, data in resource_table.scan(filter=q,
f_res, sources, meters, md = hbase_utils.deserialize_entry(
f_res, meters, md = hbase_utils.deserialize_entry(
resource_id = hbase_utils.encode_unicode(resource_id)
# Unfortunately happybase doesn't keep ordered result from
......@@ -230,7 +230,7 @@ class Connection(hbase_base.Connection, base.Connection):
row = resource_table.row(
resource_id, columns=['f:project_id', 'f:user_id',
f_res, _s, _m, md = hbase_utils.deserialize_entry(row)
f_res, _m, md = hbase_utils.deserialize_entry(row)
yield models.Resource(
......@@ -271,7 +271,7 @@ class Connection(hbase_base.Connection, base.Connection):
result = set()
for ignored, data in gen:
flatten_result, s, meters, md = hbase_utils.deserialize_entry(
flatten_result, meters, md = hbase_utils.deserialize_entry(
for m in meters:
if limit and len(result) >= limit:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment