diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:25:50 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:25:50 (GMT) |
commit | 3d7d372ce326602b274f44338168688eeb907a3b (patch) | |
tree | 221b3b3ae862fe0b1d068efb97700b55bf0018cf /Doc/lib/required_1.py | |
parent | 182b5aca27d376b08a2904bed42b751496f932f3 (diff) | |
download | cpython-3d7d372ce326602b274f44338168688eeb907a3b.zip cpython-3d7d372ce326602b274f44338168688eeb907a3b.tar.gz cpython-3d7d372ce326602b274f44338168688eeb907a3b.tar.bz2 |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Doc/lib/required_1.py')
-rwxr-xr-x | Doc/lib/required_1.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/required_1.py b/Doc/lib/required_1.py index 44d5b30..6be5668 100755 --- a/Doc/lib/required_1.py +++ b/Doc/lib/required_1.py @@ -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() |