From 5887a061501443f780f976b5fb31320a858abe7a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 12 Nov 2012 12:18:43 -0500 Subject: storage: convert to Python 3 compatibility --- libbe/storage/__init__.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'libbe') diff --git a/libbe/storage/__init__.py b/libbe/storage/__init__.py index 991859a..ccadb9c 100644 --- a/libbe/storage/__init__.py +++ b/libbe/storage/__init__.py @@ -30,16 +30,16 @@ Also define an assortment of storage-related tools and utilities: * :py:mod:`libbe.storage.util` """ -import base +from . import base as _base -ConnectionError = base.ConnectionError -InvalidStorageVersion = base.InvalidStorageVersion -InvalidID = base.InvalidID -InvalidRevision = base.InvalidRevision -InvalidDirectory = base.InvalidDirectory -NotWriteable = base.NotWriteable -NotReadable = base.NotReadable -EmptyCommit = base.EmptyCommit +ConnectionError = _base.ConnectionError +InvalidStorageVersion = _base.InvalidStorageVersion +InvalidID = _base.InvalidID +InvalidRevision = _base.InvalidRevision +InvalidDirectory = _base.InvalidDirectory +NotWriteable = _base.NotWriteable +NotReadable = _base.NotReadable +EmptyCommit = _base.EmptyCommit # a list of all past versions STORAGE_VERSIONS = ['Bugs Everywhere Tree 1 0', -- cgit