Skip to content

Commit 3693e81

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

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

aredis_om/model/model.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -1196,14 +1196,11 @@ def to_string(s):
11961196
offset = 1 # The first item is the count of total matches.
11971197

11981198
for i in xrange(1, len(res), step):
1199-
fields_offset = offset
12001199

12011200
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-
)
1201+
zip(
1202+
map(to_string, res[i + offset][::2]),
1203+
map(to_string, res[i + offset][1::2]),
12071204
)
12081205
)
12091206

0 commit comments

Comments
 (0)