Whitespace normalization.

This commit is contained in:
Tim Peters 2005-01-07 16:01:32 +00:00
parent e4f5600e5c
commit 5a9fb3c415
9 changed files with 44 additions and 47 deletions

View File

@ -926,7 +926,7 @@ class PimpPackage_installer(PimpPackage):
if '%' in installcmd:
installcmd = installcmd % self.archiveFilename
else:
installcmd = 'open \"%s\"' % self.archiveFilename
installcmd = 'open \"%s\"' % self.archiveFilename
if _cmd(output, "/tmp", installcmd):
return '%s: install command failed (use verbose for details)' % self.fullname()
return '%s: downloaded and opened. Install manually and restart Package Manager' % self.archiveFilename

View File

@ -1,25 +1,25 @@
# line 1
def wrap(foo=None):
def wrapper(func):
return func
return wrapper
def wrapper(func):
return func
return wrapper
# line 7
def replace(func):
def insteadfunc():
print 'hello'
return insteadfunc
def insteadfunc():
print 'hello'
return insteadfunc
# line 13
@wrap()
@wrap(wrap)
def wrapped():
pass
pass
# line 19
@replace
def gone():
pass
pass
# line 24
oll = lambda m: m

View File

@ -172,8 +172,8 @@ class TestRetrievingSourceCode(GetSourceBase):
self.assertSourceEqual(mod.StupidGit, 21, 46)
def test_getsourcefile(self):
self.assertEqual(inspect.getsourcefile(mod.spam), modfile)
self.assertEqual(inspect.getsourcefile(git.abuse), modfile)
self.assertEqual(inspect.getsourcefile(mod.spam), modfile)
self.assertEqual(inspect.getsourcefile(git.abuse), modfile)
def test_getfile(self):
self.assertEqual(inspect.getfile(mod.StupidGit), mod.__file__)
@ -418,4 +418,3 @@ def test_main():
if __name__ == "__main__":
test_main()

View File

@ -116,4 +116,3 @@ def main():
if __name__ == '__main__':
main()

View File

@ -71,4 +71,3 @@ if __name__ == '__main__':
print 'locale_alias = {'
pprint(data)
print '}'

View File

@ -977,7 +977,7 @@ def add_files(db):
lib.add_file('python%s%s.lib' % (major, minor))
# Add the mingw-format library
if have_mingw:
lib.add_file('libpython%s%s.a' % (major, minor))
lib.add_file('libpython%s%s.a' % (major, minor))
if have_tcl:
# Add Tcl/Tk
tcldirs = [(root, '../tcltk/lib', 'tcl')]