Skip to content
Snippets Groups Projects
Commit bc968fd5 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: change the way the slim wrapper is created

parent e3efcdc2
No related branches found
No related tags found
1 merge request!111MAINT: LinkAhead rename
Pipeline #41164 passed
from linkahead.yamlapi import *
from warnings import warn
warn(("CaosDB was renamed to LinkAhead. Please import this library as `import linkahead.yamlapi`. Using the"
" old name, starting with caosdb, is deprecated."), DeprecationWarning)
......@@ -63,8 +63,4 @@ except ModuleNotFoundError:
version = "uninstalled"
__version__ = version
if __name__.split('.')[0] == 'caosdb':
warn(("CaosDB was renamed to LinkAhead. Please import the library as `import linkahead`. Using the"
" old name (caosdb) is deprecated."), DeprecationWarning)
_read_config_files()
......@@ -31,7 +31,6 @@ import linkahead as db
from argparse import ArgumentParser
from argparse import RawDescriptionHelpFormatter
__all__ = []
__version__ = 0.1
__date__ = '2016-08-31'
__updated__ = '2016-09-01'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment