Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devbot/plugins/ubuntu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devbot/plugins/ubuntu.py b/devbot/plugins/ubuntu.py
index b56278e..71102cd 100644
--- a/devbot/plugins/ubuntu.py
+++ b/devbot/plugins/ubuntu.py
@@ -37,7 +37,7 @@ class DistroInfo(interfaces.DistroInfo):
release = None
self.valid = False
- if os_info["ID"] != "ubuntu":
+ if os_info.get("ID", None) != "ubuntu":
self.valid = False
self.version = os_info.get("VERSION_ID", None)