Changeset View
Changeset View
Standalone View
Standalone View
pykolab/cli/__init__.py
Show All 10 Lines | |||||
# This program is distributed in the hope that it will be useful, | # This program is distributed in the hope that it will be useful, | ||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
# GNU General Public License for more details. | # GNU General Public License for more details. | ||||
# You should have received a copy of the GNU General Public License | # You should have received a copy of the GNU General Public License | ||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | # 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 ldap | ||||
import ldif | import ldif | ||||
import logging | import logging | ||||
import traceback | import traceback | ||||
import shutil | import shutil | ||||
import sys | import sys | ||||
import time | import time | ||||
import codecs | import codecs | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |