Commits

Larry Gilbert committed 0dfa783

New patch for English edits in code, particularly in user-facing messages

Comments (0)

Files changed (2)

+diff -r 24b25d41122d -r ed511eebb045 distribute_setup.py
+--- a/distribute_setup.py	Tue Sep 22 11:13:58 2009 -0700
++++ b/distribute_setup.py	Tue Sep 22 11:25:02 2009 -0700
+@@ -198,7 +198,7 @@
+ 
+ def _rename_path(path):
+     new_name = path + '.OLD.%s' % time.time()
+-    log.warn('Renaming %s into %s' % (path, new_name))
++    log.warn('Renaming %s to %s' % (path, new_name))
+     try:
+         from setuptools.sandbox import DirectorySandbox
+         def _violation(*args):
+@@ -212,7 +212,7 @@
+ 
+ def _remove_flat_installation(placeholder):
+     if not os.path.isdir(placeholder):
+-        log.warn('Unkown installation at %s' % placeholder)
++        log.warn('Unknown installation at %s' % placeholder)
+         return False
+     found = False
+     for file in os.listdir(placeholder):
+@@ -318,7 +318,7 @@
+     ws = pkg_resources.working_set
+     setuptools_dist = ws.find(pkg_resources.Requirement.parse('setuptools'))
+     if setuptools_dist is None:
+-        log.warn('No setuptools distribution found')
++        log.warn('No Setuptools distribution found')
+         return
+     # detecting if it was already faked
+     setuptools_location = setuptools_dist.location
+diff -r 24b25d41122d -r ed511eebb045 virtual-python.py
+--- a/virtual-python.py	Tue Sep 22 11:13:58 2009 -0700
++++ b/virtual-python.py	Tue Sep 22 11:25:02 2009 -0700
+@@ -41,7 +41,7 @@
+ 
+ def main():
+     if os.name != 'posix':
+-        print "This script only works on Unix-like platforms, sorry."
++        print "Sorry, this script only works on Unix-like platforms."
+         return
+ 
+     parser = optparse.OptionParser()
 readme-eng-edit
+code-eng-edit
 # Placed by Bitbucket