aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gmail.com>2008-12-31 16:08:29 -0800
committerZac Medico <zmedico@gmail.com>2008-12-31 16:08:29 -0800
commit8d598d19797c48d10444c142c5105077ad12955e (patch)
treefc5edc83d2cdbb93960e189fe6153abe59fd37af /mirrorselect
parentFix --help color formatting for digits in -4 and -6 options. (diff)
downloadmirrorselect-8d598d19797c48d10444c142c5105077ad12955e.tar.gz
mirrorselect-8d598d19797c48d10444c142c5105077ad12955e.tar.bz2
mirrorselect-8d598d19797c48d10444c142c5105077ad12955e.zip
Make all classes explicitly inherit from object.v1.4
Diffstat (limited to 'mirrorselect')
-rwxr-xr-xmirrorselect8
1 files changed, 4 insertions, 4 deletions
diff --git a/mirrorselect b/mirrorselect
index 6af3cf7..9634d11 100755
--- a/mirrorselect
+++ b/mirrorselect
@@ -22,7 +22,7 @@ import urlparse
from HTMLParser import HTMLParser
from optparse import IndentedHelpFormatter, OptionParser
-class Output:
+class Output(object):
"""Handles text output. Only prints messages with level <= verbosity.
Therefore, verbosity=2 is everything (debug), and verbosity=0 is urgent
messages only (quiet)."""
@@ -170,7 +170,7 @@ class MirrorParser(HTMLParser):
self.lines.append(tuple(self.line))
self.line = []
-class Extractor:
+class Extractor(object):
"""The Extractor employs a MirrorParser object to get a list of valid
mirrors, and then filters them. Only the mirrors that should be tested, based on
user input are saved. They will be in the hosts attribute."""
@@ -248,7 +248,7 @@ class Extractor:
return parser.lines
-class Shallow:
+class Shallow(object):
"""handles rapid server selection via netselect"""
def __init__(self, hosts, options):
@@ -603,7 +603,7 @@ class Deep(object):
return retval, host_dict
-class Interactive:
+class Interactive(object):
"""Handles interactive host selection."""
def __init__(self, hosts, rsync):