diff --git a/python/mozbuild/mozbuild/compilation/database.py b/python/mozbuild/mozbuild/compilation/database.py index 6d098fb79090..387b804d8fb1 100644 --- a/python/mozbuild/mozbuild/compilation/database.py +++ b/python/mozbuild/mozbuild/compilation/database.py @@ -85,7 +85,7 @@ class CompileDBBackend(CommonBackend): db = [] - for (directory, filename, unified), cmd in self._db.iteritems(): + for (directory, filename, unified), cmd in self._db.items(): env = self._envs[directory] cmd = list(cmd) if unified is None: