import rpmUtils.miscutils
import rpmUtils.transaction
import rpm
+
import zypp
+if not hasattr(zypp, 'PoolQuery'):
+ raise ImportError("python-zypp in host system cannot support PoolQuery interface, please "
+ "update it to enhanced version which can be found in repo.meego.com/tools")
from mic import msger
from mic.kickstart import ksparser
from mic.utils.errors import CreatorError
from mic.imager.baseimager import BaseImageCreator
-if not hasattr(zypp, 'PoolQuery'):
- raise ImportError("python-zypp in host system cannot support PoolQuery interface, please "
- "update it to enhanced version which can be found in repo.meego.com/tools")
-
class RepositoryStub:
def __init__(self):
self.name = None
self.has_prov_query = True
-
def doFileLogSetup(self, uid, logfile):
# don't do the file log for the livecd as it can lead to open fds
# being left and an inability to clean up after ourself