Commit e268199c authored by Gary Poster's avatar Gary Poster

PEP 8: two blank lines before classes

parent 8827672f
...@@ -67,6 +67,7 @@ buildout_and_setuptools_path = [ ...@@ -67,6 +67,7 @@ buildout_and_setuptools_path = [
pkg_resources.Requirement.parse('zc.buildout')).location, pkg_resources.Requirement.parse('zc.buildout')).location,
] ]
class IncompatibleVersionError(zc.buildout.UserError): class IncompatibleVersionError(zc.buildout.UserError):
"""A specified version is incompatible with a given requirement. """A specified version is incompatible with a given requirement.
""" """
...@@ -95,6 +96,7 @@ def _get_version(executable): ...@@ -95,6 +96,7 @@ def _get_version(executable):
FILE_SCHEME = re.compile('file://', re.I).match FILE_SCHEME = re.compile('file://', re.I).match
class AllowHostsPackageIndex(setuptools.package_index.PackageIndex): class AllowHostsPackageIndex(setuptools.package_index.PackageIndex):
"""Will allow urls that are local to the system. """Will allow urls that are local to the system.
...@@ -139,6 +141,7 @@ _easy_install_cmd = _safe_arg( ...@@ -139,6 +141,7 @@ _easy_install_cmd = _safe_arg(
'from setuptools.command.easy_install import main; main()' 'from setuptools.command.easy_install import main; main()'
) )
class Installer: class Installer:
_versions = {} _versions = {}
...@@ -1164,6 +1167,7 @@ sys.argv[0] = %(setup)r ...@@ -1164,6 +1167,7 @@ sys.argv[0] = %(setup)r
execfile(%(setup)r) execfile(%(setup)r)
""" """
class VersionConflict(zc.buildout.UserError): class VersionConflict(zc.buildout.UserError):
def __init__(self, err, ws): def __init__(self, err, ws):
...@@ -1181,6 +1185,7 @@ class VersionConflict(zc.buildout.UserError): ...@@ -1181,6 +1185,7 @@ class VersionConflict(zc.buildout.UserError):
result.append("but %s requires %r." % (dist, str(req))) result.append("but %s requires %r." % (dist, str(req)))
return '\n'.join(result) return '\n'.join(result)
class MissingDistribution(zc.buildout.UserError): class MissingDistribution(zc.buildout.UserError):
def __init__(self, req, ws): def __init__(self, req, ws):
......
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