summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/contrib/tts/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/contrib/tts/config.py')
-rw-r--r--bitbake/lib/toaster/contrib/tts/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/contrib/tts/config.py b/bitbake/lib/toaster/contrib/tts/config.py
index 40d45f3b7a..87b427cc3d 100644
--- a/bitbake/lib/toaster/contrib/tts/config.py
+++ b/bitbake/lib/toaster/contrib/tts/config.py
@@ -74,7 +74,7 @@ BACKLOGFILE = os.path.join(os.path.dirname(__file__), "backlog.txt")
74# task states 74# task states
75def enum(*sequential, **named): 75def enum(*sequential, **named):
76 enums = dict(zip(sequential, range(len(sequential))), **named) 76 enums = dict(zip(sequential, range(len(sequential))), **named)
77 reverse = dict((value, key) for key, value in enums.iteritems()) 77 reverse = dict((value, key) for key, value in enums.items())
78 enums['reverse_mapping'] = reverse 78 enums['reverse_mapping'] = reverse
79 return type('Enum', (), enums) 79 return type('Enum', (), enums)
80 80