diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 12:00:47 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 12:00:47 (GMT) |
commit | 2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63 (patch) | |
tree | a071e2b44ad3082187a3c76dcfc04882a544d813 /Lib/test/test_pwd.py | |
parent | fc170b1fd5db978f4e8d4c23c138a7b59df681ec (diff) | |
download | cpython-2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63.zip cpython-2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63.tar.gz cpython-2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63.tar.bz2 |
String method conversion.
(This one was trivial -- no actual string. references in it!)
Diffstat (limited to 'Lib/test/test_pwd.py')
-rw-r--r-- | Lib/test/test_pwd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py index 7425f53..2cb122b 100644 --- a/Lib/test/test_pwd.py +++ b/Lib/test/test_pwd.py @@ -1,6 +1,5 @@ from test_support import verbose import pwd -import string print 'pwd.getpwall()' entries = pwd.getpwall() @@ -50,7 +49,7 @@ while bynames.has_key(fakename): except IndexError: # should never happen... if so, just forget it break - fakename = string.join(map(None, chars), '') + fakename = ''.join(map(None, chars)) try: pwd.getpwnam(fakename) |