From 0c2c1ea2a33e8fe651788eda08c5ef73f5abe1d4 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Wed, 9 May 2012 10:47:02 -0700 Subject: [PATCH] Fix import for `virtual` from the SQLAlchemy backend [GH-127] The SQLAlchemy backend was trying to import `virtual` instead of `transport.virtual`. --- kombu/transport/sqlalchemy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kombu/transport/sqlalchemy/__init__.py b/kombu/transport/sqlalchemy/__init__.py index cb7e4afc..e667c61c 100644 --- a/kombu/transport/sqlalchemy/__init__.py +++ b/kombu/transport/sqlalchemy/__init__.py @@ -7,7 +7,7 @@ from sqlalchemy import create_engine from sqlalchemy.exc import OperationalError from sqlalchemy.orm import sessionmaker -from kombu import virtual +from kombu.transport import virtual from kombu.exceptions import StdChannelError from .models import Queue, Message, metadata