summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/useradd-staticids.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/useradd-staticids.bbclass b/meta/classes/useradd-staticids.bbclass
index b6e498c0ce..149245b292 100644
--- a/meta/classes/useradd-staticids.bbclass
+++ b/meta/classes/useradd-staticids.bbclass
@@ -43,7 +43,7 @@ def update_useradd_static_config(d):
43 if fields[0] not in id_table: 43 if fields[0] not in id_table:
44 id_table[fields[0]] = fields 44 id_table[fields[0]] = fields
45 else: 45 else:
46 id_table[fields[0]] = list(itertools.imap(lambda x, y: x or y, fields, id_table[fields[0]])) 46 id_table[fields[0]] = list(map(lambda x, y: x or y, fields, id_table[fields[0]]))
47 except IOError as e: 47 except IOError as e:
48 if e.errno == errno.ENOENT: 48 if e.errno == errno.ENOENT:
49 pass 49 pass