diff --git a/git-importer.py b/git-importer.py index a50e393..1f63dc5 100755 --- a/git-importer.py +++ b/git-importer.py @@ -7,7 +7,7 @@ import sys import osc.core -from lib.exporter import Exporter +from lib.test_exporter import TestExporter from lib.importer import Importer URL_OBS = "https://api.opensuse.org" @@ -86,7 +86,7 @@ def main(): requests_log.propagate = True if args.export: - Exporter(args.package).run() + TestExporter(args.package).run() return if not args.repodir: diff --git a/lib/exporter.py b/lib/test_exporter.py similarity index 86% rename from lib/exporter.py rename to lib/test_exporter.py index e871b25..425946d 100644 --- a/lib/exporter.py +++ b/lib/test_exporter.py @@ -6,7 +6,8 @@ from lib.db import DB from lib.db_revision import DBRevision -class Exporter: +class TestExporter: + """"Helper class to export data from production DB for tests""" def __init__(self, package): self.package = package