From 79e75e1916c33ee8e3de4c1b6c38221f2dba315c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 20 Jul 2001 19:05:50 +0000 Subject: Use string.ascii_letters instead of string.letters (SF bug #226706). --- Lib/plat-riscos/riscospath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/plat-riscos') diff --git a/Lib/plat-riscos/riscospath.py b/Lib/plat-riscos/riscospath.py index d55a8b83ea..32f39ba729 100644 --- a/Lib/plat-riscos/riscospath.py +++ b/Lib/plat-riscos/riscospath.py @@ -62,7 +62,7 @@ def _split(p): s= q # find end of main FS name, not including special field else: for c in p[dash:s]: - if c not in string.letters: + if c not in string.ascii_letters: q= 0 break # disallow invalid non-special-field characters in FS name r= q -- cgit v1.2.1