Skip to content

Commit

Permalink
Removed popen2 from system-setup.py (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafie committed Nov 19, 2019
1 parent 745dcee commit 03eca9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions system-setup.py
Expand Up @@ -2,7 +2,6 @@

import sys
import os
import popen2
import argparse

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "deps/readies"))
Expand Down Expand Up @@ -32,8 +31,7 @@ def fedora(self):
self.group_install("'Development Tools'")

def macosx(self):
r, w, e = popen2.popen3('xcode-select -p')
if r.readlines() == []:
if sh('xcode-select -p') == '':
fatal("Xcode tools are not installed. Please run xcode-select --install.")
self.install("redis")

Expand Down

0 comments on commit 03eca9f

Please sign in to comment.