summaryrefslogtreecommitdiffstats
path: root/pykolab/cli
diff options
context:
space:
mode:
authorChristoph Erhardt <kolab@sicherha.de>2022-05-08 10:18:02 +0200
committerChristoph Erhardt <kolab@sicherha.de>2022-05-08 10:18:26 +0200
commit63532e93c5ab3ee37599510792fbffb7eb59ce90 (patch)
treebb687d9e8b488400e5840a486de7a7c4a4e8cca2 /pykolab/cli
parentc2b69efbdd07a6c30dd9034745648c5e36f7dbd5 (diff)
downloadpykolab-63532e93c5ab3ee37599510792fbffb7eb59ce90.tar.gz
[Python 3] some more function and module names changed
Summary: some more functions, modules are renamed and some internal functions were moved into other modules Reviewers: #pykolab_developers, sicherha Reviewed By: #pykolab_developers, sicherha Differential Revision: https://git.kolab.org/D3481
Diffstat (limited to 'pykolab/cli')
-rw-r--r--pykolab/cli/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pykolab/cli/__init__.py b/pykolab/cli/__init__.py
index 3aafd03..2b3c511 100644
--- a/pykolab/cli/__init__.py
+++ b/pykolab/cli/__init__.py
@@ -16,7 +16,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-
+try:
+ # Python 2: "reload" is built-in
+ reload
+except NameError:
+ from importlib import reload
import ldap
import ldif
import logging