From e5bbb467823d6f90adb493844437e4494a6562a5 Mon Sep 17 00:00:00 2001 From: Jimbo77 Date: Sun, 19 Aug 2012 17:12:08 -0700 Subject: [PATCH] changed print_error() to sys.exit to reduce coupling --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index fe3049f42..abf1ce86e 100644 --- a/setup.py +++ b/setup.py @@ -9,9 +9,7 @@ import os, sys, platform from lib.util import print_error if sys.version_info[:3] < (2,6,0): - print_error("Error: Electrum requires Python version >= 2.6.0...") - sys.exit(1) - + sys.exit("Error: Electrum requires Python version >= 2.6.0...") data_files = []