Merge branch 'cnfvar-deprecations'
[pyi2ncommon] / src / cnfline / build_proxy_profile.py
diff --git a/src/cnfline/build_proxy_profile.py b/src/cnfline/build_proxy_profile.py
deleted file mode 100644 (file)
index 93c9ccf..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# The software in this package is distributed under the GNU General
-# Public License version 2 (with a special exception described below).
-#
-# A copy of GNU General Public License (GPL) is included in this distribution,
-# in the file COPYING.GPL.
-#
-# As a special exception, if other files instantiate templates or use macros
-# or inline functions from this file, or you compile this file and link it
-# with other works to produce a work based on this file, this file
-# does not by itself cause the resulting work to be covered
-# by the GNU General Public License.
-#
-# However the source code for this file must still be made available
-# in accordance with section (3) of the GNU General Public License.
-#
-# This exception does not invalidate any other reasons why a work based
-# on this file might be covered by the GNU General Public License.
-#
-# Copyright (c) 2016-2018 Intra2net AG <info@intra2net.com>
-
-"""
-.. note:: DEPRECATED! Please do not extend this or add new uses of this module,
-          use :py:mod:`pyi2ncommon.arnied_api` or :py:mod:`pyi2ncommon.cnfvar`
-          instead!
-"""
-
-from .build_cnfvar import BuildCnfVar
-"""Class to create proxy profiles on the fly"""
-
-
-class BuildProxyProfile(BuildCnfVar):
-    def __init__(self, data='', instance=0, line_no=1):
-        BuildCnfVar.__init__(self, 'PROXY_PROFILE', instance, data, line_no)
-
-    def add_accesslist_ref(self, accesslist_instance):
-        self.add_cnf('PROXY_PROFILE_ACCESSLIST_REF', -1, accesslist_instance)
-        return self