Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
Signed-off-by: wiseaidev <business@wiseai.dev>
  • Loading branch information
wiseaidev committed Aug 10, 2022
1 parent 42f870d commit bb0fd06
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions aredis_om/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1195,15 +1195,11 @@ def to_string(s):
step = 2 # Because the result has content
offset = 1 # The first item is the count of total matches.

for i in xrange(1, len(res), step):
fields_offset = offset

for i in range(1, len(res), step):
fields = dict(
dict(
izip(
map(to_string, res[i + fields_offset][::2]),
map(to_string, res[i + fields_offset][1::2]),
)
zip(
map(to_string, res[i + offset][::2]),
map(to_string, res[i + offset][1::2]),
)
)

Expand Down

0 comments on commit bb0fd06

Please sign in to comment.