Commit 00cd74f6 authored by Christian Zagrodnick's avatar Christian Zagrodnick

whitespace

parent 34bf2103
...@@ -21,6 +21,7 @@ import zc.buildout.easy_install ...@@ -21,6 +21,7 @@ import zc.buildout.easy_install
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class Base: class Base:
def __init__(self, buildout, name, options): def __init__(self, buildout, name, options):
...@@ -33,10 +34,10 @@ class Base: ...@@ -33,10 +34,10 @@ class Base:
self.build_ext = build_ext(buildout, options) self.build_ext = build_ext(buildout, options)
def update(self): def update(self):
return self.install() return self.install()
class Custom(Base): class Custom(Base):
def __init__(self, buildout, name, options): def __init__(self, buildout, name, options):
...@@ -74,8 +75,8 @@ class Custom(Base): ...@@ -74,8 +75,8 @@ class Custom(Base):
distribution = self.name distribution = self.name
else: else:
logger.warn("The eggs option is deprecated. Use egg instead") logger.warn("The eggs option is deprecated. Use egg instead")
distribution = options.get('egg', options.get('eggs', self.name) distribution = options.get('egg', options.get('eggs', self.name)
).strip() ).strip()
return zc.buildout.easy_install.build( return zc.buildout.easy_install.build(
...@@ -83,7 +84,8 @@ class Custom(Base): ...@@ -83,7 +84,8 @@ class Custom(Base):
self.links, self.index, options['executable'], [options['_e']], self.links, self.index, options['executable'], [options['_e']],
newest=self.newest, newest=self.newest,
) )
class Develop(Base): class Develop(Base):
def __init__(self, buildout, name, options): def __init__(self, buildout, name, options):
...@@ -97,7 +99,7 @@ class Develop(Base): ...@@ -97,7 +99,7 @@ class Develop(Base):
options['setup'], options['_d'], self.build_ext, options['setup'], options['_d'], self.build_ext,
options['executable'], options['executable'],
) )
def build_ext(buildout, options): def build_ext(buildout, options):
result = {} result = {}
......
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