tell the scm wrapper to do an absolute import otherwise we hit a

circular dep issue and things go wonky

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2015-04-24 17:51:28 -05:00
parent eba5a8bd96
commit f828850466

View File

@ -1,3 +1,4 @@
from __future__ import absolute_import
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
@ -26,7 +27,6 @@ import kobo.log
from kobo.shortcuts import run, force_list from kobo.shortcuts import run, force_list
from pungi.util import explode_rpm_package, makedirs from pungi.util import explode_rpm_package, makedirs
class ScmBase(kobo.log.LoggingBase): class ScmBase(kobo.log.LoggingBase):
def __init__(self, logger=None): def __init__(self, logger=None):
kobo.log.LoggingBase.__init__(self, logger=logger) kobo.log.LoggingBase.__init__(self, logger=logger)