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)