mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
python: remove all 'from __future__ import print_function'
This made Python 2's print behave like Python 3's print(). In some cases, where we had: from __future__ import print_function """Intended module documentation...""" this will have the side effect of making the intended module documentation work as the actual module documentation (i.e. becoming __doc__), because it is once again the first statement in the module. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a4cce28bfa
commit
aecb2b779b
@ -2,7 +2,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# This is unit with tests for LDAP access checks
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import base64
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# Trivial reimplementation of tdbdump in Python
|
||||
|
||||
from __future__ import print_function
|
||||
import tdb, sys
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
|
@ -17,7 +17,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import ldb
|
||||
import samba
|
||||
import time
|
||||
|
@ -16,7 +16,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function, division
|
||||
from __future__ import division
|
||||
|
||||
import time
|
||||
import os
|
||||
|
@ -18,7 +18,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
from __future__ import division
|
||||
from samba import colour
|
||||
import sys
|
||||
|
@ -16,7 +16,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Joining a domain."""
|
||||
|
||||
from samba.auth import system_session
|
||||
|
@ -18,7 +18,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import itertools
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import ldb
|
||||
import uuid
|
||||
|
@ -17,7 +17,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import print_function
|
||||
|
||||
import re
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
"""Generate LDIF from Github documentation."""
|
||||
|
||||
import re
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
"""Generate LDIF from WSPP documentation."""
|
||||
|
||||
import re
|
||||
|
@ -18,7 +18,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
"""Generate LDIF from Github documentation."""
|
||||
|
||||
import re
|
||||
|
@ -22,7 +22,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
from __future__ import division
|
||||
import samba.getopt as options
|
||||
import ldb
|
||||
|
@ -18,7 +18,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
|
||||
import samba.getopt as options
|
||||
import ldb
|
||||
|
@ -18,7 +18,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import samba.getopt as options
|
||||
import ldb
|
||||
|
@ -16,7 +16,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
from samba import sites, subnets
|
||||
from samba.samdb import SamDB
|
||||
import samba.getopt as options
|
||||
|
@ -17,8 +17,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
from collections import defaultdict
|
||||
|
@ -15,8 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""NT Acls."""
|
||||
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
#
|
||||
|
||||
"""Samba Python tests."""
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import tempfile
|
||||
import warnings
|
||||
|
@ -14,8 +14,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for DSDB audit logging.
|
||||
"""
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for the SamDb logging of password changes.
|
||||
"""
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for the SamDb logging of password changes.
|
||||
"""
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for the Auth and AuthZ logging.
|
||||
"""
|
||||
import samba.tests
|
||||
|
@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for the Auth and AuthZ logging.
|
||||
"""
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for the Auth and AuthZ logging of password changes.
|
||||
"""
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
from samba.tests import BlackboxTestCase
|
||||
import os
|
||||
import ldb
|
||||
|
@ -18,7 +18,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Blackbox tests for ndrdump."""
|
||||
|
||||
import os
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
from samba.tests import BlackboxTestCase, BlackboxProcessError
|
||||
from samba.samba3 import param as s3param
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
from samba.tests.blackbox.smbcacls import SmbCaclsBlockboxTestBase
|
||||
from samba.tests import BlackboxProcessError
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
from samba.tests import BlackboxProcessError
|
||||
import os
|
||||
from samba.tests.blackbox.smbcacls_propagate_inhertance import InheritanceSmbCaclsTests
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
from samba.tests.blackbox.smbcacls import SmbCaclsBlockboxTestBase
|
||||
from samba.tests import BlackboxProcessError
|
||||
import os
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
from samba.tests import BlackboxTestCase, BlackboxProcessError
|
||||
from samba.messaging import Messaging
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
# in the preforkrestartdc test environment to prevent them impacting other
|
||||
# tests.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import time
|
||||
from samba.tests import BlackboxTestCase, BlackboxProcessError
|
||||
from samba.messaging import Messaging
|
||||
|
@ -16,7 +16,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import samba
|
||||
import samba.getopt as options
|
||||
|
@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for samba.dcerpc.dnsserver"""
|
||||
|
||||
import os
|
||||
|
@ -14,7 +14,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, "bin/python")
|
||||
|
@ -15,8 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from samba import dsdb
|
||||
from samba.ndr import ndr_unpack, ndr_pack
|
||||
from samba.samdb import SamDB
|
||||
|
@ -16,7 +16,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
from samba.tests import TestCaseInTempDir
|
||||
from samba.dcerpc import dns, dnsp
|
||||
from samba import gensec, tests
|
||||
|
@ -15,7 +15,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import sys
|
||||
import random
|
||||
|
@ -17,7 +17,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# Based on the EchoServer example from python docs
|
||||
from __future__ import print_function
|
||||
|
||||
import socketserver as SocketServer
|
||||
import sys
|
||||
from threading import Timer
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
"""Tests for samba.graph"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import samba
|
||||
import samba.tests
|
||||
from samba import graph
|
||||
|
@ -14,8 +14,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for the SamDb logging of password changes.
|
||||
"""
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import os
|
||||
import sys
|
||||
|
@ -15,8 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests process restarting in the pre-fork process model.
|
||||
NOTE: As this test kills samba processes it won't play nicely with other
|
||||
tests, so needs to be run in it's own environment.
|
||||
|
@ -15,8 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests limits on processes forked by fork on accept in the standard process
|
||||
model.
|
||||
NOTE: This test runs in an environment with an artificially low setting for
|
||||
|
@ -17,8 +17,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests for the samba3sam LDB module, which maps Samba3 LDAP to AD LDAP."""
|
||||
|
||||
import os
|
||||
|
@ -24,7 +24,6 @@ We don't test samba-tool visualize reps here because repsTo and
|
||||
repsFrom are not replicated, and there are actual remote servers to
|
||||
query.
|
||||
"""
|
||||
from __future__ import print_function
|
||||
import samba
|
||||
import os
|
||||
import tempfile
|
||||
|
@ -24,7 +24,6 @@ others we try to grasp control of replication and make more specific
|
||||
assertions.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import re
|
||||
import json
|
||||
|
@ -19,7 +19,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
from __future__ import division
|
||||
"""Helpers used for upgrading between different database formats."""
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import time
|
||||
|
@ -16,7 +16,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import argparse
|
||||
import struct
|
||||
|
@ -3,7 +3,6 @@
|
||||
# Copyright Andrew Tridgell 2010
|
||||
# released under GNU GPL v3 or later
|
||||
|
||||
from __future__ import print_function
|
||||
from subprocess import call, check_call, check_output, Popen, PIPE, CalledProcessError
|
||||
import os
|
||||
import tarfile
|
||||
|
@ -6,7 +6,6 @@ bin/c4che/.
|
||||
|
||||
USAGE: compare_cc_results.py CONFIG_1 CONFIG_2 [CONFIG_3 [CONFIG_4 ...]]
|
||||
"""
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import difflib
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import os.path
|
||||
import subprocess
|
||||
|
@ -16,7 +16,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
import optparse
|
||||
|
@ -2,7 +2,6 @@
|
||||
# Copyright (C) 2008-2010 Jelmer Vernooij <jelmer@samba.org>
|
||||
# Copyright (C) 2016 Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
|
||||
# Published under the GNU GPL, v3 or later
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import os
|
||||
import signal
|
||||
|
@ -17,7 +17,6 @@
|
||||
# by the name of the test, the environment it needs and the command to run, all
|
||||
# three separated by newlines. All other lines in the output are considered
|
||||
# comments.
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
@ -15,7 +15,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
__all__ = ['parse_results']
|
||||
|
||||
import datetime
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
|
@ -17,7 +17,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
"""Tests the possibleInferiors generation in the schema_fsmo ldb module"""
|
||||
|
||||
import optparse
|
||||
|
@ -2,7 +2,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# This is unit with tests for LDAP access checks
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import base64
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
|
||||
import optparse
|
||||
import sys
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
|
||||
import optparse
|
||||
import sys
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
|
||||
import optparse
|
||||
import sys
|
||||
|
@ -22,7 +22,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
sys.path.insert(0, "bin/python")
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -18,7 +18,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
sys.path.insert(0, "bin/python")
|
||||
|
@ -19,7 +19,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -17,7 +17,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import time
|
||||
|
@ -16,7 +16,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -19,7 +19,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import time
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# Originally based on ./sam.py
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -7,7 +7,6 @@
|
||||
#
|
||||
# Copyright Andrew Bartlett 2018
|
||||
#
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
from samba.tests.subunitrun import TestProgram, SubunitOptions
|
||||
|
@ -16,7 +16,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -7,7 +7,6 @@
|
||||
# Copyright Stefan Metzmacher 2014
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import base64
|
||||
|
@ -1,4 +1,3 @@
|
||||
from __future__ import print_function
|
||||
import samba
|
||||
|
||||
from samba.auth import system_session
|
||||
|
@ -8,7 +8,6 @@
|
||||
# secured enough (SASL with a minimum of 128 Bit encryption) - consider
|
||||
# MS-ADTS 3.1.1.3.1.5
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import base64
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
"""Test communication of credentials etc, between an RODC and a RWDC.
|
||||
|
||||
How does it work when the password is changed on the RWDC?
|
||||
|
@ -2,7 +2,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# This is a port of the original in testprogs/ejs/ldap.js
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import print_function
|
||||
|
||||
import optparse
|
||||
import sys
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# Originally based on ./sam.py
|
||||
from __future__ import print_function
|
||||
from unicodedata import normalize
|
||||
import locale
|
||||
locale.setlocale(locale.LC_ALL, ('en_US', 'UTF-8'))
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# Originally based on ./sam.py
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -2,7 +2,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# test tokengroups attribute against internal token calculation
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -18,7 +18,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
sys.path.insert(0, "bin/python")
|
||||
|
@ -8,7 +8,6 @@
|
||||
# Licenced under the GPLv3
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import unittest
|
||||
|
@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# Originally based on ./sam.py
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import os
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
# Command line stuff
|
||||
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
import re
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#
|
||||
|
||||
|
||||
from __future__ import print_function
|
||||
import sys, os.path, io, string
|
||||
|
||||
# parsed error data
|
||||
|
@ -26,7 +26,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
|
||||
import optparse
|
||||
import sys
|
||||
|
@ -21,7 +21,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import os
|
||||
import sys
|
||||
|
@ -19,7 +19,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
@ -15,7 +15,6 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
from __future__ import print_function
|
||||
|
||||
__docformat__ = "restructuredText"
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
# Copyright Matthieu Patou <mat@matws.net> 2011
|
||||
# script to call a DRSUAPI crackname
|
||||
# this is useful for plugfest testing and replication debug
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
from optparse import OptionParser
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
|
||||
from __future__ import print_function
|
||||
import optparse
|
||||
import sys
|
||||
import base64
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
# script to call a DRS GetNCChanges from the command line
|
||||
# this is useful for plugfest testing
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
from optparse import OptionParser
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user