[entropy] start to port to >=Python2.6/3, remove with statement import

This commit is contained in:
Fabio Erculiani
2009-09-30 19:06:14 +02:00
parent 96cd806d8f
commit 85e92ea500
38 changed files with 0 additions and 38 deletions
-1
View File
@@ -16,7 +16,6 @@
"""
from __future__ import with_statement
from entropy.core import Singleton
from entropy.misc import TimeScheduled, Lifo
import time
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client Cache Interface}.
"""
from __future__ import with_statement
import os
from entropy.const import *
from entropy.exceptions import *
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import sys
from entropy.core import Singleton
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client Dependency handling Interface}.
"""
from __future__ import with_statement
from entropy.misc import Lifo
from entropy.const import *
from entropy.exceptions import *
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client Packages retrieval Interface}.
"""
from __future__ import with_statement
import os
from entropy.i18n import _
from entropy.const import *
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client Instance Loaders Interface}.
"""
from __future__ import with_statement
from entropy.spm.plugins.factory import get_default_instance as get_spm, \
get_default_class as get_spm_default_class
from entropy.const import *
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client Miscellaneous functions Interface}.
"""
from __future__ import with_statement
import os
import stat
import fcntl
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client Notice Board functions Interface}.
"""
from __future__ import with_statement
import os
from entropy.misc import RSS
from entropy.dump import loadobj as dump_loadobj, dumpobj as dump_dumpobj
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client Package Interface}.
"""
from __future__ import with_statement
import os
import errno
import stat
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import time
import shutil
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import subprocess
import shutil
from entropy.client.interfaces.client import Client
@@ -9,7 +9,6 @@
B{Entropy Client Services Base Interface}.
"""
from __future__ import with_statement
import time
from entropy.exceptions import *
from entropy.i18n import _
@@ -9,7 +9,6 @@
B{Entropy Client Services Base Mixin Interfaces}.
"""
from __future__ import with_statement
from entropy.i18n import _
class BaseMixin:
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
from entropy.exceptions import *
from entropy.const import etpConst
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
from entropy.core import Singleton
from entropy.exceptions import *
-1
View File
@@ -30,7 +30,6 @@
"""
from __future__ import with_statement
import sys
import os
-1
View File
@@ -17,7 +17,6 @@
ONLY mimics a I{dict} AND it's not a subclass of it.
"""
from __future__ import with_statement
import os
import sys
from threading import RLock
-1
View File
@@ -34,7 +34,6 @@
"""
from __future__ import with_statement
import os
import shutil
from entropy.const import etpConst, etpCache, const_setup_file
-1
View File
@@ -23,7 +23,6 @@
"""
from __future__ import with_statement
import os
from entropy.const import etpConst, const_setup_perms, const_setup_file
try:
-1
View File
@@ -12,7 +12,6 @@
related with the "Entropy metaphor".
"""
from __future__ import with_statement
import os
import sys
import time
-1
View File
@@ -18,7 +18,6 @@
exceptions (errors) submission.
"""
from __future__ import with_statement
import os
import sys
import subprocess
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import shutil
from entropy.core import Singleton
@@ -9,7 +9,6 @@
B{Entropy Package Manager Server Mirrors Interfaces}.
"""
from __future__ import with_statement
import os
import tempfile
import shutil
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import time
import random
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
from entropy.services.skel import Authenticator
from entropy.services.auth_interfaces import phpBB3Auth
-1
View File
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import select
import shutil
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
from entropy.services.skel import SocketCommands
from entropy.const import etpConst
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import shutil
from entropy.services.interfaces import SocketHost
@@ -9,7 +9,6 @@
B{Entropy Services System Management Executors Interface}.
"""
from __future__ import with_statement
import os
import sys
import subprocess
@@ -9,7 +9,6 @@
B{Entropy Services System Management Interface}.
"""
from __future__ import with_statement
import time
import os
import random
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import shutil
from entropy.services.skel import SocketCommands
@@ -10,7 +10,6 @@
"""
from __future__ import with_statement
import os
import sys
import select
@@ -9,7 +9,6 @@
B{Entropy Source Package Manager "Portage" Plugin}.
"""
from __future__ import with_statement
import os
import bz2
import sys
-1
View File
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
# Entropy miscellaneous tools module
from __future__ import with_statement
"""
@author: Fabio Erculiani <lxnay@sabayonlinux.org>
-1
View File
@@ -9,7 +9,6 @@
B{Entropy transceiver module}.
"""
from __future__ import with_statement
import os
import urllib2
import time
-1
View File
@@ -9,7 +9,6 @@
B{Entropy Package Manager Client service}.
"""
from __future__ import with_statement
import os
import sys
# this makes the daemon to not write the entropy pid file
-1
View File
@@ -17,7 +17,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
from __future__ import with_statement
import time, gtk, gobject, pango, thread, pty, sys
from entropy.i18n import _,_LOCALE
from entropy.exceptions import *
-1
View File
@@ -17,7 +17,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
from __future__ import with_statement
import os, sys
import entropy.tools as entropyTools
from entropy.const import *