mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 15:20:16 +00:00
bug fixed: installed command
This commit is contained in:
+1
-7
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user