diff options
| author | Brett Cannon <bcannon@gmail.com> | 2006-08-25 01:00:47 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2006-08-25 01:00:47 (GMT) |
| commit | 9ca0eca99539f2c9a1d19237900f9011c852b066 (patch) | |
| tree | 228c3c9d6a6256e8fad1151318f6052c2a206170 /Lib/plat-riscos/rourl2path.py | |
| parent | 0e1cff56b48657109f3867e0b94055c3d907c82c (diff) | |
| download | cpython-9ca0eca99539f2c9a1d19237900f9011c852b066.zip cpython-9ca0eca99539f2c9a1d19237900f9011c852b066.tar.gz cpython-9ca0eca99539f2c9a1d19237900f9011c852b066.tar.bz2 | |
Remove some uses of '<>'.
Diffstat (limited to 'Lib/plat-riscos/rourl2path.py')
| -rw-r--r-- | Lib/plat-riscos/rourl2path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-riscos/rourl2path.py b/Lib/plat-riscos/rourl2path.py index 7a8badf..4fb1921 100644 --- a/Lib/plat-riscos/rourl2path.py +++ b/Lib/plat-riscos/rourl2path.py @@ -14,7 +14,7 @@ def url2pathname(url): """OS-specific conversion from a relative URL of the 'file' scheme to a file system path; not recommended for general use.""" tp = urllib.splittype(url)[0] - if tp and tp <> 'file': + if tp and tp != 'file': raise RuntimeError, 'Cannot convert non-local URL to pathname' # Turn starting /// into /, an empty hostname means current host if url[:3] == '///': |
