Skip to content

Commit bb0fd06

Browse files
committed
resolve conflict
Signed-off-by: wiseaidev <[email protected]>
1 parent 42f870d commit bb0fd06

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

aredis_om/model/model.py

+4-8
Original file line numberDiff line numberDiff line change
@@ -1195,15 +1195,11 @@ def to_string(s):
11951195
step = 2 # Because the result has content
11961196
offset = 1 # The first item is the count of total matches.
11971197

1198-
for i in xrange(1, len(res), step):
1199-
fields_offset = offset
1200-
1198+
for i in range(1, len(res), step):
12011199
fields = dict(
1202-
dict(
1203-
izip(
1204-
map(to_string, res[i + fields_offset][::2]),
1205-
map(to_string, res[i + fields_offset][1::2]),
1206-
)
1200+
zip(
1201+
map(to_string, res[i + offset][::2]),
1202+
map(to_string, res[i + offset][1::2]),
12071203
)
12081204
)
12091205

0 commit comments

Comments
 (0)