mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04:23:50 +03:00
PEP8: fix E302: expected 2 blank lines, found 1
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@@ -48,6 +48,7 @@ def drsuapi_connect(ctx):
|
||||
except Exception as e:
|
||||
raise CommandError("DRS connection to %s failed" % ctx.server, e)
|
||||
|
||||
|
||||
def samdb_connect(ctx):
|
||||
'''make a ldap connection to the server'''
|
||||
try:
|
||||
@@ -57,6 +58,7 @@ def samdb_connect(ctx):
|
||||
except Exception as e:
|
||||
raise CommandError("LDAP connection to %s failed" % ctx.server, e)
|
||||
|
||||
|
||||
def drs_errmsg(werr):
|
||||
'''return "was successful" or an error string'''
|
||||
(ecode, estring) = werr
|
||||
@@ -86,6 +88,7 @@ def drs_parse_ntds_dn(ntds_dn):
|
||||
|
||||
DEFAULT_SHOWREPL_FORMAT = 'classic'
|
||||
|
||||
|
||||
class cmd_drs_showrepl(Command):
|
||||
"""Show replication status."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user