Prechádzať zdrojové kódy

Remove cloud package redirect shim

Nuwan Goonasekera 7 rokov pred
rodič
commit
28f05e6ac8
1 zmenil súbory, kde vykonal 0 pridanie a 12 odobranie
  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], ".."))