diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-23 00:01:55 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-23 00:01:55 (GMT) |
commit | e45be28be665a04aef0d0a7444ba27fde2dd2d5f (patch) | |
tree | 12b6261b32a5913ed104704734e7b7a15cd74e69 /Lib/plat-os2emx/pwd.py | |
parent | cfe02a498b107a6436003e2bf7a48aefe4e3d59f (diff) | |
download | cpython-e45be28be665a04aef0d0a7444ba27fde2dd2d5f.zip cpython-e45be28be665a04aef0d0a7444ba27fde2dd2d5f.tar.gz cpython-e45be28be665a04aef0d0a7444ba27fde2dd2d5f.tar.bz2 |
Convert raise statements in Lib/plat-{mac,os2emx}.
Diffstat (limited to 'Lib/plat-os2emx/pwd.py')
-rw-r--r-- | Lib/plat-os2emx/pwd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-os2emx/pwd.py b/Lib/plat-os2emx/pwd.py index 95d766a..4924c90 100644 --- a/Lib/plat-os2emx/pwd.py +++ b/Lib/plat-os2emx/pwd.py @@ -113,7 +113,7 @@ def __get_field_sep(record): if fs: return fs else: - raise KeyError, '>> passwd database fields not delimited <<' + raise KeyError('>> passwd database fields not delimited <<') # class to match the new record field name accessors. # the resulting object is intended to behave like a read-only tuple, @@ -160,7 +160,7 @@ def __read_passwd_file(): if passwd_file: passwd = open(passwd_file, 'r') else: - raise KeyError, '>> no password database <<' + raise KeyError('>> no password database <<') uidx = {} namx = {} sep = None |