Avoid deprecated import for OrderedDict

This commit is contained in:
Lance Edgar 2023-05-05 01:55:15 -05:00
parent 83a810cb0d
commit 3fb08869e0
2 changed files with 4 additions and 2 deletions

View file

@ -3,9 +3,10 @@
Rattail Demo -> Rattail Demo "self" data import Rattail Demo -> Rattail Demo "self" data import
""" """
from collections import OrderedDict
from rattail.importing.local import FromRattailLocalToRattail, FromRattailLocal from rattail.importing.local import FromRattailLocalToRattail, FromRattailLocal
from rattail.importing.shopfoo import ShopfooProductImporterMixin from rattail.importing.shopfoo import ShopfooProductImporterMixin
from rattail.util import OrderedDict
from rattail_demo import importing as rattail_demo_importing from rattail_demo import importing as rattail_demo_importing

View file

@ -3,8 +3,9 @@
Rattail -> Shopfoo importing Rattail -> Shopfoo importing
""" """
from collections import OrderedDict
from rattail import importing from rattail import importing
from rattail.util import OrderedDict
from rattail_demo.db import model from rattail_demo.db import model
from rattail_demo.shopfoo import importing as shopfoo_importing from rattail_demo.shopfoo import importing as shopfoo_importing