git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09cb1c
)
skip null records
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 23 Oct 2011 01:23:27 +0000
(21:23 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Sun, 23 Oct 2011 01:23:27 +0000
(21:23 -0400)
sfa/server/interface.py
patch
|
blob
|
history
diff --git
a/sfa/server/interface.py
b/sfa/server/interface.py
index
b7111e2
..
dbc8ef2
100644
(file)
--- a/
sfa/server/interface.py
+++ b/
sfa/server/interface.py
@@
-70,7
+70,7
@@
class Interfaces(dict):
required_fields = self.default_fields.keys()
for record in records:
- if not set(required_fields).issubset(record.keys()):
+ if not
record or not
set(required_fields).issubset(record.keys()):
continue
# port is appended onto the domain, before the path. Should look like:
# http://domain:port/path