Skip to content

Commit 16428ba

Browse files
author
Dane Springmeyer
committed
make pylint happy
1 parent 4cd3119 commit 16428ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

script/update.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ def update_gyp():
2424
gyp = os.path.join('vendor', 'brightray', 'vendor', 'gyp', 'gyp_main.py')
2525
python = sys.executable
2626
arch = 'ia32'
27-
if sys.platform.startswith('linux') and sys.maxsize > 2**32 or sys.platform == 'darwin':
27+
if sys.platform.startswith('linux') and sys.maxsize > 2**32:
2828
arch = 'x64'
29-
if sys.platform in ['cygwin', 'win32']:
29+
elif sys.platform == 'darwin':
30+
arch = 'x64'
31+
elif sys.platform in ['cygwin', 'win32']:
3032
python = os.path.join('vendor', 'python_26', 'python.exe')
3133
subprocess.call([python, gyp,
3234
'-f', 'ninja', '--depth', '.', 'atom.gyp',

0 commit comments

Comments
 (0)