summaryrefslogtreecommitdiffstats
path: root/Lib/plat-os2emx
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-os2emx')
-rw-r--r--Lib/plat-os2emx/grp.py2
-rw-r--r--Lib/plat-os2emx/pwd.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-os2emx/grp.py b/Lib/plat-os2emx/grp.py
index 8ac9b15..ee63ef8 100644
--- a/Lib/plat-os2emx/grp.py
+++ b/Lib/plat-os2emx/grp.py
@@ -143,7 +143,7 @@ def __read_group_file():
while 1:
entry = group.readline().strip()
if len(entry) > 3:
- if sep == None:
+ if sep is None:
sep = __get_field_sep(entry)
fields = entry.split(sep)
fields[2] = int(fields[2])
diff --git a/Lib/plat-os2emx/pwd.py b/Lib/plat-os2emx/pwd.py
index e1739bd..2cb077f 100644
--- a/Lib/plat-os2emx/pwd.py
+++ b/Lib/plat-os2emx/pwd.py
@@ -167,7 +167,7 @@ def __read_passwd_file():
while True:
entry = passwd.readline().strip()
if len(entry) > 6:
- if sep == None:
+ if sep is None:
sep = __get_field_sep(entry)
fields = entry.split(sep)
for i in (2, 3):