Skip to content

Commit

Permalink
xrange() was removed in Python 3 in favour of range()
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jan 4, 2020
1 parent 5476eff commit 4925221
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mmskeleton/datasets/utils/zipreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
import cv2
import numpy as np

try:
xrange. # Python 2
except NameError:
xrange = range # Python 3

_im_zfile = []
_xml_path_zip = []
_xml_zfile = []
Expand Down

0 comments on commit 4925221

Please sign in to comment.