Index: main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/batching.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/batching.py	(revision 9637)
+++ main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/batching.py	(revision 9701)
@@ -146,14 +146,14 @@
         errs, inv_errs, conv_dict =  converter.fromStringDict(
             row, self.factory_name, mode=mode)
-        if row.has_key('transition') and row.has_key('state'):
+        if 'transition' in row and 'state' in row:
             if row['transition'] not in (IGNORE_MARKER, '') and \
                 row['state'] not in (IGNORE_MARKER, ''):
                 errs.append(('workflow','not allowed'))
                 return errs, inv_errs, conv_dict
-        if row.has_key('transition'):
+        if 'transition' in row:
             if row['transition'] not in IMPORTABLE_TRANSITIONS:
                 if row['transition'] not in (IGNORE_MARKER, ''):
                     errs.append(('transition','not allowed'))
-        if row.has_key('state'):
+        if 'state' in row:
             if row['state'] not in IMPORTABLE_STATES:
                 if row['state'] not in (IGNORE_MARKER, ''):
@@ -188,5 +188,5 @@
         # Update state
         # Attention: When importing states the counters remain unchanged.
-        if row.has_key('state'):
+        if 'state' in row:
             state = row.get('state', IGNORE_MARKER)
             if state not in (IGNORE_MARKER, ''):
@@ -198,5 +198,5 @@
             row.pop('state')
         # Trigger transition. Counters are properly changed.
-        if row.has_key('transition'):
+        if 'transition' in row:
             transition = row.get('transition', IGNORE_MARKER)
             if transition not in (IGNORE_MARKER, ''):
@@ -209,5 +209,5 @@
         # random_num string to avoid annoying automatic number transformation
         # by Excel or Calc
-        if row.has_key('random_num'):
+        if 'random_num' in row:
             random_num = row.get('random_num', IGNORE_MARKER)
             if random_num not in (IGNORE_MARKER, ''):
