From 3e7a6b7bcd50eb2fbaef3edd916d37578807f7ef Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 4 May 2017 11:22:24 +0200 Subject: [PATCH] Adding pp_lib/barracuda_aliases_app.py --- pp_lib/barracuda_aliases_app.py | 59 +++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 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 -- 2.39.5