Skip to content

Commit 27fb4df

Browse files
authored
Update uwsgi_wrappers.py
1 parent 9a2f178 commit 27fb4df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

splitio/tasks/uwsgi_wrappers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def uwsgi_report_impressions(user_config):
124124
while True:
125125
try:
126126
impressions_sync_task._send_impressions() #pylint: disable=protected-access
127-
for _ in xrange(0, seconds):
127+
for _ in range(0, seconds):
128128
if storage.should_flush():
129129
storage.acknowledge_flush()
130130
break
@@ -157,7 +157,7 @@ def uwsgi_report_events(user_config):
157157
while True:
158158
try:
159159
task._send_events() #pylint: disable=protected-access
160-
for _ in xrange(0, seconds):
160+
for _ in range(0, seconds):
161161
if storage.should_flush():
162162
storage.acknowledge_flush()
163163
break

0 commit comments

Comments
 (0)