Commit 5e4c14e8 authored by Gary Poster's avatar Gary Poster

typos and so on.

parent e268199c
...@@ -52,11 +52,11 @@ if is_jython: ...@@ -52,11 +52,11 @@ if is_jython:
import subprocess import subprocess
class MissingOption(zc.buildout.UserError, KeyError): class MissingOption(zc.buildout.UserError, KeyError):
"""A required option was missing """A required option was missing.
""" """
class MissingSection(zc.buildout.UserError, KeyError): class MissingSection(zc.buildout.UserError, KeyError):
"""A required section is missinh """A required section is missing.
""" """
def __str__(self): def __str__(self):
...@@ -145,8 +145,8 @@ class Buildout(UserDict.DictMixin): ...@@ -145,8 +145,8 @@ class Buildout(UserDict.DictMixin):
print 'Creating %r.' % config_file print 'Creating %r.' % config_file
open(config_file, 'w').write('[buildout]\nparts = \n') open(config_file, 'w').write('[buildout]\nparts = \n')
elif command == 'setup': elif command == 'setup':
# Sigh. this model of a buildout nstance # Sigh. This model of a buildout instance
# with methods is breaking down :( # with methods is breaking down. :(
config_file = None config_file = None
data['buildout']['directory'] = ('.', 'COMPUTED_VALUE') data['buildout']['directory'] = ('.', 'COMPUTED_VALUE')
else: else:
...@@ -334,7 +334,7 @@ class Buildout(UserDict.DictMixin): ...@@ -334,7 +334,7 @@ class Buildout(UserDict.DictMixin):
return os.path.join(self._buildout_dir, name) return os.path.join(self._buildout_dir, name)
def bootstrap(self, args): def bootstrap(self, args):
__doing__ = 'Bootstraping.' __doing__ = 'Bootstrapping.'
self._setup_directories() self._setup_directories()
...@@ -904,7 +904,7 @@ class Buildout(UserDict.DictMixin): ...@@ -904,7 +904,7 @@ class Buildout(UserDict.DictMixin):
if not args: if not args:
raise zc.buildout.UserError( raise zc.buildout.UserError(
"The setup command requires the path to a setup script or \n" "The setup command requires the path to a setup script or \n"
"directory containing a setup script, and it's arguments." "directory containing a setup script, and its arguments."
) )
setup = args.pop(0) setup = args.pop(0)
if os.path.isdir(setup): if os.path.isdir(setup):
......
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