From d5a7efdefa1d87c9bf209f56ad3c085991d20e2c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 27 Aug 2013 18:46:04 +0530 Subject: [PATCH] Move apsw_shell.py as the build system does not support modules in src/ And I have better things to do than fix and test the build system. --- src/calibre/db/backend.py | 2 +- src/{ => calibre/utils}/apsw_shell.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{ => calibre/utils}/apsw_shell.py (100%) diff --git a/src/calibre/db/backend.py b/src/calibre/db/backend.py index 34629752da..0eb4eb1aa0 100644 --- a/src/calibre/db/backend.py +++ b/src/calibre/db/backend.py @@ -988,7 +988,7 @@ class DB(object): uv = int(self.user_version) if sql is None: - from apsw_shell import Shell + from calibre.utils.apsw_shell import Shell callback(_('Dumping database to SQL') + '...') buf = StringIO() shell = Shell(db=self.conn, stdout=buf) diff --git a/src/apsw_shell.py b/src/calibre/utils/apsw_shell.py similarity index 100% rename from src/apsw_shell.py rename to src/calibre/utils/apsw_shell.py