Whitespace normalization.
This commit is contained in:
parent
752d3f557e
commit
88869f9787
|
@ -94,7 +94,7 @@ DEFAULTSECT = "DEFAULT"
|
|||
MAX_INTERPOLATION_DEPTH = 10
|
||||
|
||||
|
||||
|
||||
|
||||
# exception classes
|
||||
class Error(Exception):
|
||||
def __init__(self, msg=''):
|
||||
|
@ -166,7 +166,7 @@ class MissingSectionHeaderError(ParsingError):
|
|||
self.line = line
|
||||
|
||||
|
||||
|
||||
|
||||
class ConfigParser:
|
||||
def __init__(self, defaults=None):
|
||||
self.__sections = {}
|
||||
|
|
|
@ -165,4 +165,3 @@ class Chunk:
|
|||
dummy = self.read(n)
|
||||
if not dummy:
|
||||
raise EOFError
|
||||
|
||||
|
|
|
@ -138,4 +138,3 @@ def test():
|
|||
print x, fix(x, digs), sci(x, digs)
|
||||
except (EOFError, KeyboardInterrupt):
|
||||
pass
|
||||
|
||||
|
|
|
@ -569,7 +569,7 @@ def ftpcp(source, sourcename, target, targetname = '', type = 'I'):
|
|||
source.voidresp()
|
||||
target.voidresp()
|
||||
|
||||
|
||||
|
||||
class Netrc:
|
||||
"""Class to parse & provide access to 'netrc' format files.
|
||||
|
||||
|
@ -676,7 +676,7 @@ class Netrc:
|
|||
return self.__macros[macro]
|
||||
|
||||
|
||||
|
||||
|
||||
def test():
|
||||
'''Test program.
|
||||
Usage: ftp [-d] [-r[file]] host [-l[dir]] [-d[dir]] [-p] [file] ...'''
|
||||
|
|
Loading…
Reference in New Issue