diff --git a/rrs/tools/rrs_maintainer_history.py b/rrs/tools/rrs_maintainer_history.py index 572d251..a286d91 100755 --- a/rrs/tools/rrs_maintainer_history.py +++ b/rrs/tools/rrs_maintainer_history.py @@ -9,6 +9,8 @@ import sys import os.path +import optparse +import logging sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__)))) from common import common_setup, update_repo @@ -18,8 +20,6 @@ from layerindex import utils, recipeparse utils.setup_django() from django.db import transaction import settings -import optparse -import logging from layerindex.models import Recipe, LayerBranch, LayerItem from rrs.models import Maintainer, RecipeMaintainerHistory, RecipeMaintainer diff --git a/rrs/tools/rrs_unique_recipes.py b/rrs/tools/rrs_unique_recipes.py index 21a271e..35e4545 100755 --- a/rrs/tools/rrs_unique_recipes.py +++ b/rrs/tools/rrs_unique_recipes.py @@ -12,6 +12,8 @@ import sys import os.path +import optparse +import logging sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__)))) from common import common_setup, update_repo, get_pv_type @@ -21,8 +23,6 @@ from layerindex import utils utils.setup_django() from django.db import transaction import settings -import optparse -import logging from layerindex.models import Recipe, LayerBranch diff --git a/rrs/tools/rrs_upgrade_history.py b/rrs/tools/rrs_upgrade_history.py index 3dc3e81..5b4ae01 100755 --- a/rrs/tools/rrs_upgrade_history.py +++ b/rrs/tools/rrs_upgrade_history.py @@ -14,6 +14,8 @@ from datetime import timedelta import sys import os.path +import optparse +import logging sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__)))) from common import common_setup, update_repo, get_pv_type @@ -24,8 +26,6 @@ from layerindex.update import split_recipe_fn utils.setup_django() from django.db import transaction import settings -import optparse -import logging from layerindex.models import Recipe, LayerItem, LayerBranch from rrs.models import Maintainer, RecipeUpgrade