mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Convert raise statements in Lib/plat-{mac,os2emx}.
This commit is contained in:
parent
cfe02a498b
commit
e45be28be6
51 changed files with 506 additions and 506 deletions
|
@ -185,7 +185,7 @@ class PimpUnpacker:
|
|||
watcher=None):
|
||||
self.argument = argument
|
||||
if renames and not self._can_rename:
|
||||
raise RuntimeError, "This unpacker cannot rename files"
|
||||
raise RuntimeError("This unpacker cannot rename files")
|
||||
self._dir = dir
|
||||
self._renames = renames
|
||||
self._watcher = watcher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue