mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Whitespace normalization, via reindent.py.
This commit is contained in:
parent
182b5aca27
commit
3d7d372ce3
13 changed files with 49 additions and 53 deletions
|
|
@ -3,11 +3,11 @@ import optparse
|
|||
class OptionParser (optparse.OptionParser):
|
||||
|
||||
def check_required (self, opt):
|
||||
option = self.get_option(opt)
|
||||
option = self.get_option(opt)
|
||||
|
||||
# Assumes the option's 'default' is set to None!
|
||||
if getattr(self.values, option.dest) is None:
|
||||
self.error("%s option not supplied" % option)
|
||||
# Assumes the option's 'default' is set to None!
|
||||
if getattr(self.values, option.dest) is None:
|
||||
self.error("%s option not supplied" % option)
|
||||
|
||||
|
||||
parser = OptionParser()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue