mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
provision: Remove unused imports.
This commit is contained in:
parent
ce378e7c51
commit
7a765b65b7
@ -22,9 +22,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
import getopt
|
|
||||||
import optparse
|
import optparse
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Find right directory when running from source tree
|
# Find right directory when running from source tree
|
||||||
@ -34,7 +32,6 @@ import samba
|
|||||||
from samba.credentials import DONT_USE_KERBEROS
|
from samba.credentials import DONT_USE_KERBEROS
|
||||||
from samba.auth import system_session
|
from samba.auth import system_session
|
||||||
import samba.getopt as options
|
import samba.getopt as options
|
||||||
from samba import param
|
|
||||||
from samba.provision import provision, FILL_FULL, FILL_NT4SYNC, FILL_DRS, find_setup_dir
|
from samba.provision import provision, FILL_FULL, FILL_NT4SYNC, FILL_DRS, find_setup_dir
|
||||||
|
|
||||||
# how do we make this case insensitive??
|
# how do we make this case insensitive??
|
||||||
@ -121,7 +118,6 @@ if not opts.interactive and (opts.realm is None or opts.domain is None):
|
|||||||
|
|
||||||
if opts.interactive:
|
if opts.interactive:
|
||||||
from getpass import getpass
|
from getpass import getpass
|
||||||
import readline
|
|
||||||
import socket
|
import socket
|
||||||
def ask(prompt, default=None):
|
def ask(prompt, default=None):
|
||||||
if default is not None:
|
if default is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user