From f8496bd50f4e6898946299cb7f1ba8e92c5f7da5 Mon Sep 17 00:00:00 2001 From: utahvich Date: Sat, 16 Oct 2010 19:14:05 +0900 Subject: [PATCH] bug fixed: installed command --- README.rst | 2 +- pythonbrew | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 47fbefc..01c90da 100644 --- a/README.rst +++ b/README.rst @@ -96,7 +96,7 @@ Options Force installation of a Python. \-b --build-options - Configure options. + Configure options of Python. \-n --no-setuptools Skip installation of setuptools. diff --git a/pythonbrew b/pythonbrew index 61b7e44..be6962a 100755 --- a/pythonbrew +++ b/pythonbrew @@ -72,12 +72,6 @@ def is_archive_file(name): return True return False -#---------------------------------------------------- -# exception -#---------------------------------------------------- -class InstallationError(Exception): - """General exception during installation""" - #---------------------------------------------------- # classes #---------------------------------------------------- @@ -396,7 +390,7 @@ class InstalledCommand(Command): else: cur = "" for d in os.listdir("%s/" % PATH_PYTHONS): - if d == "current" or cur == "%s/%s" % (PATH_PYTHONS, d): + if d == "current" or cur == "%s" % (d): continue print "%s" % (d)