fix up the productmd imports to import the function from the common module

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2015-03-14 12:21:27 -05:00
parent ad18e21d1a
commit d337c34b2a
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ import time
import productmd.composeinfo
import productmd.treeinfo
import productmd.treeinfo.product
from productmd import get_major_version
from productmd.common import get_major_version
from kobo.shortcuts import relative_path
from pungi.compose_metadata.discinfo import write_discinfo as create_discinfo

View File

@ -25,7 +25,7 @@ import pipes
import re
from kobo.shortcuts import run
from productmd import get_major_version
from productmd.common import get_major_version
def _doRunCommand(command, logger, rundir='/tmp', output=subprocess.PIPE, error=subprocess.PIPE, env=None):