Fix class names for rattail-demo import-self per upstream changes

This commit is contained in:
Lance Edgar 2023-09-25 13:38:16 -05:00
parent ba534fbae1
commit ffe97e3a12

View file

@ -5,12 +5,12 @@ Rattail Demo -> Rattail Demo "self" data import
from collections import OrderedDict
from rattail.importing.local import FromRattailLocalToRattail, FromRattailLocal
from rattail.importing.local import FromRattailSelfToRattail, FromRattailSelf
from rattail.importing.shopfoo import ShopfooProductImporterMixin
from rattail_demo import importing as rattail_demo_importing
class FromRattailDemoToSelf(FromRattailLocalToRattail):
class FromRattailDemoToSelf(FromRattailSelfToRattail):
"""
Handler for Rattail Demo -> Rattail Demo ("self") imports
"""
@ -21,7 +21,7 @@ class FromRattailDemoToSelf(FromRattailLocalToRattail):
return importers
class ShopfooProductImporter(ShopfooProductImporterMixin, FromRattailLocal, rattail_demo_importing.model.ShopfooProductImporter):
class ShopfooProductImporter(ShopfooProductImporterMixin, FromRattailSelf, rattail_demo_importing.model.ShopfooProductImporter):
"""
Product -> ShopfooProduct
"""