bug fixed: installed command

This commit is contained in:
utahvich
2010-10-16 19:14:05 +09:00
parent 13ac5f8ff4
commit f8496bd50f
2 changed files with 2 additions and 8 deletions
+1 -7
View File
@@ -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)