From: W. Trevor King Date: Mon, 12 Nov 2012 17:18:43 +0000 (-0500) Subject: storage: convert to Python 3 compatibility X-Git-Tag: 1.1.0~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5887a061501443f780f976b5fb31320a858abe7a;p=be.git storage: convert to Python 3 compatibility --- 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',