Unverified Commit a167e64c authored by David Haynes's avatar David Haynes 🙆
Browse files

refactor: Actually use the print_function



- print_function overwrites print causing the build to fail
Signed-off-by: David Haynes's avatarDavid Haynes <dhaynes3@gmu.edu>
parent 20d3f287
Pipeline #1203 passed with stage
in 19 seconds
...@@ -39,9 +39,9 @@ class FacilityViewSet(viewsets.ReadOnlyModelViewSet): ...@@ -39,9 +39,9 @@ class FacilityViewSet(viewsets.ReadOnlyModelViewSet):
if open_now is not None: if open_now is not None:
results = [] results = []
for fac in queryset: for fac in queryset:
print fac print(fac)
if fac.isOpen(): if fac.isOpen():
print True print(True)
results.append(fac) results.append(fac)
return results return results
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment