[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/bin
From:       Wolfgang Rohdewald <wolfgang () rohdewald ! de>
Date:       2011-01-15 23:56:15
Message-ID: 20110115235615.E0DFB3E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1214706 by wrohdewald:

avoid reimporting already imported modules


 M  +0 -1      BuildSystem/BuildSystemBase.py  
 M  +0 -3      Package/PackageBase.py  
 M  +0 -2      Packager/MultiPackager.py  
 M  +0 -4      Packager/NullsoftInstallerPackager.py  
 M  +0 -1      Source/ArchiveSource.py  
 M  +0 -2      Source/CvsSource.py  
 M  +0 -1      Source/FileSource.py  
 M  +0 -2      Source/GitSource.py  
 M  +1 -2      Source/HgSource.py  
 M  +0 -4      Source/SvnSource.py  
 M  +0 -1      Source/VersionSystemSourceBase.py  
 M  +1 -1      utils.py  


--- trunk/kdesupport/emerge/bin/BuildSystem/BuildSystemBase.py #1214705:1214706
@@ -5,7 +5,6 @@
 """ \package BuildSystemBase"""
 
 from EmergeBase import *
-import utils
 import compiler
 from graphviz import *
 import dependencies
--- trunk/kdesupport/emerge/bin/Package/PackageBase.py #1214705:1214706
@@ -3,9 +3,6 @@
 #
 
 from EmergeBase import *
-import os
-import utils
-import emergePlatform
 from InstallDB import *
 
 class PackageBase (EmergeBase):
--- trunk/kdesupport/emerge/bin/Packager/MultiPackager.py #1214705:1214706
@@ -4,8 +4,6 @@
 
 from Packager.PackagerFactory import *
 
-import utils
-
 class MultiPackager():
     def __init__(self, packagerType=None):
         utils.debug( "MultiPackager __init__ %s" %packagerType, 2 )
--- trunk/kdesupport/emerge/bin/Packager/NullsoftInstallerPackager.py #1214705:1214706
@@ -3,11 +3,7 @@
 # copyright (c) 2010 Andre Heinecke <aheinecke@intevation.de> (code taken from the kdepim-ce-package.py)
 #
 from Packager.PackagerBase import *
-import portage
-import utils
-import os
 import shutil
-import sys
 import re
 import types
 import fileinput
--- trunk/kdesupport/emerge/bin/Source/ArchiveSource.py #1214705:1214706
@@ -3,7 +3,6 @@
 #
 
 from Source.SourceBase import *
-import utils
 import shutil
 
 class ArchiveSource(SourceBase):
--- trunk/kdesupport/emerge/bin/Source/CvsSource.py #1214705:1214706
@@ -4,8 +4,6 @@
 # cvs support
 
 from Source.VersionSystemSourceBase import *
-import os
-import utils
 from shells import *
 
 ## \todo requires installed git package -> add suport for installing packages
--- trunk/kdesupport/emerge/bin/Source/FileSource.py #1214705:1214706
@@ -3,7 +3,6 @@
 #
 
 from Source.SourceBase import *
-import utils
 
 class FileSource(SourceBase):
     """ file download source"""
--- trunk/kdesupport/emerge/bin/Source/GitSource.py #1214705:1214706
@@ -5,8 +5,6 @@
 # git support
 
 from Source.VersionSystemSourceBase import *
-import os
-import utils
 from shells import *
 import tempfile
 
--- trunk/kdesupport/emerge/bin/Source/HgSource.py #1214705:1214706
@@ -4,8 +4,7 @@
 # mercurial support based on the git support
 
 from Source.VersionSystemSourceBase import *
-import os
-import utils
+
 class HgSource ( VersionSystemSourceBase ):
     """mercurial support"""
     def __init__( self ):
--- trunk/kdesupport/emerge/bin/Source/SvnSource.py #1214705:1214706
@@ -6,10 +6,6 @@
 
 from Source.VersionSystemSourceBase import *
 
-import os.path
-
-import utils
-
 class SvnSource (VersionSystemSourceBase):
     """subversion support"""
     def __init__(self, subinfo=None):
--- trunk/kdesupport/emerge/bin/Source/VersionSystemSourceBase.py #1214705:1214706
@@ -3,7 +3,6 @@
 #
 
 from Source.SourceBase import *
-import os
 
 class VersionSystemSourceBase (SourceBase):
     """abstract base class for version system support"""
--- trunk/kdesupport/emerge/bin/utils.py #1214705:1214706
@@ -22,6 +22,7 @@
 import getpass
 import subprocess
 import re
+import inspect
 
 if os.name == 'nt':
     import msvcrt
@@ -31,7 +32,6 @@
 import ConfigParser
 
 def abstract():
-    import inspect
     caller = inspect.getouterframes(inspect.currentframe())[1][3]
     raise NotImplementedError(caller + ' must be implemented in subclass')
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic