diff options
Diffstat (limited to 'libbe/storage/__init__.py')
-rw-r--r-- | libbe/storage/__init__.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libbe/storage/__init__.py b/libbe/storage/__init__.py index ccadb9c..01885e9 100644 --- a/libbe/storage/__init__.py +++ b/libbe/storage/__init__.py @@ -23,7 +23,6 @@ data. Also define assorted implementations for the Storage classes: * :py:mod:`libbe.storage.vcs` -* :py:mod:`libbe.storage.http` Also define an assortment of storage-related tools and utilities: @@ -53,10 +52,6 @@ STORAGE_VERSIONS = ['Bugs Everywhere Tree 1 0', # the current version STORAGE_VERSION = STORAGE_VERSIONS[-1] -def get_http_storage(location): - import http - return http.HTTP(location) - def get_vcs_storage(location): import vcs s = vcs.detect_vcs(location) @@ -68,7 +63,7 @@ def get_storage(location): Return a Storage instance from a repo location string. """ if location.startswith('http://') or location.startswith('https://'): - return get_http_storage(location) + raise ConnectionError('HTTP URLs are no longer supported') return get_vcs_storage(location) __all__ = [ConnectionError, InvalidStorageVersion, InvalidID, |