Bug 1143660 - Fix spacing around operators. r=gps

This commit is contained in:
Dirkjan Ochtman
2015-03-18 19:13:27 +01:00
parent f2fb39ca4b
commit 6d6f0ae7a1
3 changed files with 4 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ class Bootstrapper(object):
def bootstrap(self): def bootstrap(self):
# Like ['1. Firefox for Desktop', '2. Firefox for Android']. # 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) prompt = APPLICATION_CHOICE % '\n'.join(labels)
choice = self.instance.prompt_int(prompt=prompt, low=1, high=len(APPLICATIONS)) choice = self.instance.prompt_int(prompt=prompt, low=1, high=len(APPLICATIONS))
name, application = APPLICATIONS[choice-1] name, application = APPLICATIONS[choice-1]

View File

@@ -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', 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', '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', '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' MACPORTS_CLANG_PACKAGE = 'clang-3.3'