diff --git a/rida/database.py b/rida/database.py index c24fd0ca..88a8ce48 100644 --- a/rida/database.py +++ b/rida/database.py @@ -261,7 +261,7 @@ class ComponentBuild(Base): # Koji is py2 only, so this fails if the main web process is # running on py3. import koji - retval['state_name'] = koji.BUILD_STATES[self.state] + retval['state_name'] = koji.BUILD_STATES.get(self.state) except ImportError: pass