mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1143660 - Fix spacing around operators. r=gps
--HG-- extra : rebase_source : cf25d18617de1420380535693d72968cc797b170
This commit is contained in:
parent
3b7f7d0578
commit
e5d4f2f9fa
@ -100,7 +100,7 @@ class Bootstrapper(object):
|
||||
sys.platform.startswith('freebsd'):
|
||||
cls = FreeBSDBootstrapper
|
||||
args['version'] = platform.release()
|
||||
args['flavor'] = platform.system()
|
||||
args['flavor'] = platform.system()
|
||||
|
||||
if cls is None:
|
||||
raise NotImplementedError('Bootstrap support is not yet available '
|
||||
@ -110,7 +110,7 @@ class Bootstrapper(object):
|
||||
|
||||
def bootstrap(self):
|
||||
# Like ['1. Firefox for Desktop', '2. Firefox for Android'].
|
||||
labels = [ '%s. %s' % (i + 1, name) for (i, (name, _)) in enumerate(APPLICATIONS) ]
|
||||
labels = ['%s. %s' % (i + 1, name) for (i, (name, _)) in enumerate(APPLICATIONS)]
|
||||
prompt = APPLICATION_CHOICE % '\n'.join(labels)
|
||||
choice = self.instance.prompt_int(prompt=prompt, low=1, high=len(APPLICATIONS))
|
||||
name, application = APPLICATIONS[choice-1]
|
||||
|
@ -9,7 +9,7 @@ class FreeBSDBootstrapper(BaseBootstrapper):
|
||||
def __init__(self, version, flavor):
|
||||
BaseBootstrapper.__init__(self)
|
||||
self.version = int(version.split('.')[0])
|
||||
self.flavor = flavor.lower()
|
||||
self.flavor = flavor.lower()
|
||||
|
||||
self.packages = [
|
||||
'autoconf213',
|
||||
|
@ -26,7 +26,7 @@ HOMEBREW_AUTOCONF213 = 'https://raw.github.com/Homebrew/homebrew-versions/master
|
||||
MACPORTS_URL = {'9': 'https://distfiles.macports.org/MacPorts/MacPorts-2.2.1-10.9-Mavericks.pkg',
|
||||
'8': 'https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.8-MountainLion.pkg',
|
||||
'7': 'https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.7-Lion.pkg',
|
||||
'6': 'https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.6-SnowLeopard.pkg',}
|
||||
'6': 'https://distfiles.macports.org/MacPorts/MacPorts-2.1.3-10.6-SnowLeopard.pkg', }
|
||||
|
||||
MACPORTS_CLANG_PACKAGE = 'clang-3.3'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user