mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Whitespace normalization.
This commit is contained in:
parent
e4f5600e5c
commit
5a9fb3c415
9 changed files with 44 additions and 47 deletions
|
@ -110,7 +110,7 @@ class BundleBuilder(Defaults):
|
|||
|
||||
# Verbosity level.
|
||||
verbosity = 1
|
||||
|
||||
|
||||
# Destination root directory
|
||||
destroot = ""
|
||||
|
||||
|
|
|
@ -907,10 +907,10 @@ class PimpPackage_installer(PimpPackage):
|
|||
|
||||
def installPackageOnly(self, output=None):
|
||||
"""Install a single source package.
|
||||
|
||||
|
||||
If output is given it should be a file-like object and it
|
||||
will receive a log of what happened."""
|
||||
|
||||
|
||||
if self._dict.has_key('Post-install-command'):
|
||||
return "%s: Installer package cannot have Post-install-command" % self.fullname()
|
||||
|
||||
|
@ -918,7 +918,7 @@ class PimpPackage_installer(PimpPackage):
|
|||
if _cmd(output, '/tmp', self._dict['Pre-install-command']):
|
||||
return "pre-install %s: running \"%s\" failed" % \
|
||||
(self.fullname(), self._dict['Pre-install-command'])
|
||||
|
||||
|
||||
self.beforeInstall()
|
||||
|
||||
installcmd = self._dict.get('Install-command')
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue