mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Added doodle for version vars in ipalib.__init__
This commit is contained in:
parent
92a150b4f1
commit
91ca06f079
@ -879,12 +879,19 @@ from crud import Create, Retrieve, Update, Delete, Search
|
||||
from parameters import DefaultFrom, Bool, Flag, Int, Float, Bytes, Str, Password
|
||||
from parameters import BytesEnum, StrEnum
|
||||
|
||||
|
||||
try:
|
||||
import uuid
|
||||
except ImportError:
|
||||
import ipauuid as uuid
|
||||
|
||||
|
||||
version_info = (2, 0, 0, 'alpha', 0)
|
||||
if version_info[3] == 'final':
|
||||
__version__ = '%d.%d.%d' % version_info[:3]
|
||||
else:
|
||||
__version__ = '%d.%d.%d.%s.%d' % version_info
|
||||
|
||||
|
||||
def create_api(mode='dummy'):
|
||||
"""
|
||||
Return standard `plugable.API` instance.
|
||||
|
Loading…
Reference in New Issue
Block a user