瀏覽代碼

Remove cloud package redirect shim

Nuwan Goonasekera 7 年之前
父節點
當前提交
28f05e6ac8
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      cloudbridge/cloud/__init__.py

+ 0 - 12
cloudbridge/cloud/__init__.py

@@ -1,12 +0,0 @@
-import warnings
-from os.path import join
-
-warnings.warn(
-    "The cloud package is deprecated and everything under it has been moved "
-    "one level up. For example, instead of "
-    "`from cloudbridge.cloud.factory import CloudProviderFactory` use "
-    "`from cloudbridge.factory import CloudProviderFactory`. In future "
-    "versions, the cloud package will be completely removed.",
-    category=RuntimeWarning)
-# Redirect package one level up for backward compatibility
-__path__.insert(0, join(__path__[0], ".."))