From: Frank Brehm Date: Thu, 4 May 2017 09:22:24 +0000 (+0200) Subject: Adding pp_lib/barracuda_aliases_app.py X-Git-Tag: 0.1.2~175^2~5 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=3e7a6b7bcd50eb2fbaef3edd916d37578807f7ef;p=pixelpark%2Fadmin-tools.git Adding pp_lib/barracuda_aliases_app.py --- diff --git a/pp_lib/barracuda_aliases_app.py b/pp_lib/barracuda_aliases_app.py new file mode 100644 index 0000000..00bec45 --- /dev/null +++ b/pp_lib/barracuda_aliases_app.py @@ -0,0 +1,59 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" +@author: Frank Brehm +@contact: frank.brehm@pixelpark.com +@copyright: © 2017 by Frank Brehm, Berlin +@summary: The module for the barracuda-sync application object. +""" +from __future__ import absolute_import + +# Standard modules +import sys +import os +import logging +import logging.config +import re +import traceback +import textwrap +import copy +import shutil +import stat + +# Third party modules +import six + +import ldap3 + +from ldap3 import ObjectDef, AttrDef, Reader, Writer + +from ldap3.core.exceptions import LDAPKeyError + +# Own modules +from .global_version import __version__ as __global_version__ + +from .errors import FunctionNotImplementedError, PpAppError + +from .common import pp, terminal_can_colors, to_bytes, to_bool + +from .merge import merge_structure + +from .ldap_app import PpLdapAppError, PpLdapApplication + +__version__ = '0.1.0' +LOG = logging.getLogger(__name__) + + +# ============================================================================= +class PpBarracudaSyncError(PpLdapAppError): + pass + +# ============================================================================= + +if __name__ == "__main__": + + pass + +# ============================================================================= + +# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 list