diff --git a/src/caosdb/__init__.py b/src/caosdb/__init__.py index a4c24dc438407ba9857914a6067b2f95f40b946d..ee00f5854aacc057c701567cd5ecefc9c1d47267 100644 --- a/src/caosdb/__init__.py +++ b/src/caosdb/__init__.py @@ -1,6 +1,6 @@ -from linkahead.__init__ import * +from linkahead import * from warnings import warn -warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.__init__`. Using the" +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead`. Using the" " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/common/__init__.py b/src/caosdb/common/__init__.py index d6bc58605169e1955bcdd74577032e6db2c85cdd..3d765c2a092c99c8c0eba62b91e47124d449bac2 100644 --- a/src/caosdb/common/__init__.py +++ b/src/caosdb/common/__init__.py @@ -1,6 +1,6 @@ -from linkahead.common.__init__ import * +from linkahead.common import * from warnings import warn -warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common.__init__`. Using the" +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.common`. Using the" " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/__init__.py b/src/caosdb/connection/__init__.py index 15ec04070d2165f16b26690e4a53037e7fd2ba0a..bc9dc0cf93eb83588d2d7b13334ce6383b1c8a7d 100644 --- a/src/caosdb/connection/__init__.py +++ b/src/caosdb/connection/__init__.py @@ -1,6 +1,6 @@ -from linkahead.connection.__init__ import * +from linkahead.connection import * from warnings import warn -warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.__init__`. Using the" +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection`. Using the" " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/connection/authentication/__init__.py b/src/caosdb/connection/authentication/__init__.py index 65f7ad1004681b9a0f34d0b351f250f106f200ec..cad5725dc1937940812a3ec8abea6a47763210f3 100644 --- a/src/caosdb/connection/authentication/__init__.py +++ b/src/caosdb/connection/authentication/__init__.py @@ -1,6 +1,6 @@ -from linkahead.connection.authentication.__init__ import * +from linkahead.connection.authentication import * from warnings import warn -warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication.__init__`. Using the" +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.connection.authentication`. Using the" " old name, starting with caosdb, is deprecated."), DeprecationWarning) diff --git a/src/caosdb/utils/__init__.py b/src/caosdb/utils/__init__.py index 29e1afa09cbb59bf1bf2d8f1c85761cfa56a6f71..7401e1775dfb5975e12a8be3b0b3c68e5d0d2477 100644 --- a/src/caosdb/utils/__init__.py +++ b/src/caosdb/utils/__init__.py @@ -1,6 +1,6 @@ -from linkahead.utils.__init__ import * +from linkahead.utils import * from warnings import warn -warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils.__init__`. Using the" +warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.utils`. Using the" " old name, starting with caosdb, is deprecated."), DeprecationWarning)