Commit 7aff625e authored by Sergios Aftsidis's avatar Sergios Aftsidis

Define undefined ifces variable

parent 1190f1f1
......@@ -51,6 +51,8 @@ def site_devices(request, site_id):
ifces = PeerIfces.objects.filter(grnet_device_location=site.peer_site_location)
else:
ifces = PeerIfces.objects.filter(peer_site__site_id=site_id).order_by('name')
else:
ifces = []
response = []
for ifce in ifces:
found = False
......
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