Fix class names for rattail-demo import-self
per upstream changes
This commit is contained in:
parent
ba534fbae1
commit
ffe97e3a12
|
@ -5,12 +5,12 @@ Rattail Demo -> Rattail Demo "self" data import
|
||||||
|
|
||||||
from collections import OrderedDict
|
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.importing.shopfoo import ShopfooProductImporterMixin
|
||||||
from rattail_demo import importing as rattail_demo_importing
|
from rattail_demo import importing as rattail_demo_importing
|
||||||
|
|
||||||
|
|
||||||
class FromRattailDemoToSelf(FromRattailLocalToRattail):
|
class FromRattailDemoToSelf(FromRattailSelfToRattail):
|
||||||
"""
|
"""
|
||||||
Handler for Rattail Demo -> Rattail Demo ("self") imports
|
Handler for Rattail Demo -> Rattail Demo ("self") imports
|
||||||
"""
|
"""
|
||||||
|
@ -21,7 +21,7 @@ class FromRattailDemoToSelf(FromRattailLocalToRattail):
|
||||||
return importers
|
return importers
|
||||||
|
|
||||||
|
|
||||||
class ShopfooProductImporter(ShopfooProductImporterMixin, FromRattailLocal, rattail_demo_importing.model.ShopfooProductImporter):
|
class ShopfooProductImporter(ShopfooProductImporterMixin, FromRattailSelf, rattail_demo_importing.model.ShopfooProductImporter):
|
||||||
"""
|
"""
|
||||||
Product -> ShopfooProduct
|
Product -> ShopfooProduct
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue