Commit cfd74c31 authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent 19bb056e
......@@ -89,4 +89,3 @@ class netrc:
if __name__ == '__main__':
print netrc()
......@@ -34,7 +34,7 @@ import socket
import string
# Exceptions raised when an error or invalid response is received
class NNTPError(Exception):
"""Base class for all nntplib exceptions"""
......@@ -73,7 +73,7 @@ error_proto = NNTPProtocolError
error_data = NNTPDataError
# Standard port used by NNTP servers
NNTP_PORT = 119
......@@ -86,7 +86,7 @@ LONGRESP = ['100', '215', '220', '221', '222', '224', '230', '231', '282']
CRLF = '\r\n'
# The class itself
class NNTP:
def __init__(self, host, port=NNTP_PORT, user=None, password=None,
......
This diff is collapsed.
......@@ -523,4 +523,3 @@ def count_calls(callers):
def f8(x):
return string.rjust(fpformat.fix(x, 3), 8)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment