Skip to content

Commit

Permalink
Use range instead of xrange
Browse files Browse the repository at this point in the history
Python3
  • Loading branch information
adelq committed Oct 29, 2016
1 parent 21b33c7 commit 35eb901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion penn/dining.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def menu_weekly(self, building_id):
din = DiningV2(self.bearer, self.token)
response = {'result_data': {'Document': {}}}
days = []
for i in xrange(7):
for i in range(7):
date = str(datetime.date.today() + datetime.timedelta(days=i))
v2_response = din.menu(building_id, date)
if building_id in VENUE_NAMES:
Expand Down

0 comments on commit 35eb901

Please sign in to comment.