Index: /trunk/src/VBox/ValidationKit/testmanager/core/systemchangelog.py
===================================================================
--- /trunk/src/VBox/ValidationKit/testmanager/core/systemchangelog.py	(revision 65210)
+++ /trunk/src/VBox/ValidationKit/testmanager/core/systemchangelog.py	(revision 65211)
@@ -70,9 +70,6 @@
     ## @}
 
-    ## The table key is the effective timestamp.
-    ksClue_TimestampId = 'TimestampId';
-
     ## Mapping a changelog entry kind to a table, key and clue.
-    kdWhatToTable = {
+    kdWhatToTable = dict({
         ksWhat_TestBox:          ( 'TestBoxes',          'idTestBox',           None, ),
         ksWhat_TestCase:         ( 'TestCasees',         'idTestCase',          None, ),
@@ -87,7 +84,8 @@
         ksWhat_User:             ( 'Users',              'idUser',              None, ),
         ksWhat_TestResult:       ( 'TestResults',        'idTestResult',        None, ),
-    };
-    for sEvent in SystemLogData.kasEvents:
-        kdWhatToTable[sEvent] =  ( 'SystemLog',          'tsCreated',           ksClue_TimestampId, );
+    }, **{sEvent: ( 'SystemLog',  'tsCreated',  'TimestampId', ) for sEvent in SystemLogData.kasEvents});
+
+    ## The table key is the effective timestamp. (Can't be used above for some weird scoping reason.)
+    ksClue_TimestampId = 'TimestampId';
 
     ## @todo move to config.py?
