mirror of
https://github.com/python/cpython.git
synced 2025-11-01 22:21:35 +00:00
Don't use 'set_option()' or 'get_option()' method -- direct attribute access,
or getattr/setattr, is all that's needed.
This commit is contained in:
parent
c4537ac9b6
commit
4779cdfae8
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ def run (self):
|
|||
"invalid archive format '%s'" % self.format
|
||||
|
||||
sub_cmd = self.find_peer (cmd_name)
|
||||
sub_cmd.set_option ('format', self.format)
|
||||
sub_cmd.format = self.format
|
||||
self.run_peer (cmd_name)
|
||||
|
||||
# run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue