From 3fb08869e042f90e234573d8d94ec825bc62183d Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 5 May 2023 01:55:15 -0500 Subject: [PATCH] Avoid deprecated import for `OrderedDict` --- rattail_demo/importing/local.py | 3 ++- rattail_demo/shopfoo/importing/rattail.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rattail_demo/importing/local.py b/rattail_demo/importing/local.py index 662c491..ba69317 100644 --- a/rattail_demo/importing/local.py +++ b/rattail_demo/importing/local.py @@ -3,9 +3,10 @@ Rattail Demo -> Rattail Demo "self" data import """ +from collections import OrderedDict + from rattail.importing.local import FromRattailLocalToRattail, FromRattailLocal from rattail.importing.shopfoo import ShopfooProductImporterMixin -from rattail.util import OrderedDict from rattail_demo import importing as rattail_demo_importing diff --git a/rattail_demo/shopfoo/importing/rattail.py b/rattail_demo/shopfoo/importing/rattail.py index 4617dbe..099c93a 100644 --- a/rattail_demo/shopfoo/importing/rattail.py +++ b/rattail_demo/shopfoo/importing/rattail.py @@ -3,8 +3,9 @@ Rattail -> Shopfoo importing """ +from collections import OrderedDict + from rattail import importing -from rattail.util import OrderedDict from rattail_demo.db import model from rattail_demo.shopfoo import importing as shopfoo_importing