summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--obmc/mapper/server.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index ea7c12a..62fefe1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,4 +107,5 @@ stamp-h1
*.o
m4/
mapper
+!mapper/
setup.py
diff --git a/obmc/mapper/server.py b/obmc/mapper/server.py
index f5370f0..e09bbbf 100644
--- a/obmc/mapper/server.py
+++ b/obmc/mapper/server.py
@@ -87,8 +87,7 @@ def find_dbus_interfaces(conn, service, path, callback, error_callback, **kw):
try:
iface = obmc.dbuslib.enums.OBMC_ASSOCIATIONS_IFACE
self.assoc_pending.remove(path)
- if associations:
- self.results[path][iface]['associations'] = associations
+ self.results[path][iface]['associations'] = associations
except Exception, e:
error_callback(service, path, e)
return None
OpenPOWER on IntegriCloud