mirror of https://github.com/python/cpython
Whitespace normalization.
This commit is contained in:
parent
e4f5600e5c
commit
5a9fb3c415
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -116,4 +116,3 @@ def main():
|
|||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
|
|
|
@ -71,4 +71,3 @@ if __name__ == '__main__':
|
|||
print 'locale_alias = {'
|
||||
pprint(data)
|
||||
print '}'
|
||||
|
||||
|
|
|
@ -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')]
|
||||
|
|
Loading…
Reference in New Issue