Honestly if they are missing sys, that error message probably won't help any more...
authorAlec Warner <antarus@gentoo.org>
Tue, 8 May 2007 05:07:06 +0000 (05:07 -0000)
committerAlec Warner <antarus@gentoo.org>
Tue, 8 May 2007 05:07:06 +0000 (05:07 -0000)
svn path=/main/trunk/; revision=6499

pym/portage/__init__.py

index 4cdfebe6fecf7b6e8ada175e7fe209de7c177be8..f81fb7766e84d10bc0a26ae5b903eecdd9ac9bbd 100644 (file)
@@ -12,12 +12,7 @@ VERSION="$Rev$"[6:-2] + "-svn"
 
 try:
        import sys
-except ImportError:
-       print "Failed to import sys! Something is _VERY_ wrong with python."
-       raise
-
-try:
-       import copy, errno, os, re, shutil, time, types
+  import copy, errno, os, re, shutil, time, types
        try:
                import cPickle
        except ImportError: