commit | 5b63acd31e0e40c1a9a9e9762905b0054ff37994 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Mar 29 15:24:25 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Mar 29 15:24:25 2008 +0000 |
tree | 763a6e10d4c0fa64797f5311491a3cbeb0f7e5d9 | |
parent | 672fbf519568bc295aa64992dcbabe0eebccb5fc [diff] [blame] |
#2503 make singletons compared with "is" not == or != Thanks to Wummel for the patch
diff --git a/Lib/plat-os2emx/pwd.py b/Lib/plat-os2emx/pwd.py index 95d766a..ceb92d9 100644 --- a/Lib/plat-os2emx/pwd.py +++ b/Lib/plat-os2emx/pwd.py
@@ -167,7 +167,7 @@ while 1: 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):