1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/python/samba
Douglas Bagnall aecb2b779b 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>
2021-04-28 03:43:34 +00:00
..
emulate python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
gp_parse python2 reduction: Merge remaining compat code into common 2020-10-02 14:49:36 +00:00
kcc python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
netcmd python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
provision py/provision/sambadns: Add a comment about DNS types 2021-04-08 21:54:35 +00:00
samba3 libsmb_samba_internal: calculate the access_mask for {g,s}et_acl() based on the secinfo flags 2020-12-17 13:59:38 +00:00
subunit selftest: Directly import python-iso8601 2021-02-02 18:48:35 +00:00
tests python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
__init__.py python: glue function for detecting if selftest is enabled 2021-04-21 20:51:31 +00:00
auth_util.py python: fix slow's mail address 2020-06-05 10:32:30 +00:00
colour.py python/colour: add colourizing and switch functions 2018-05-31 01:57:17 +02:00
common.py python2 reduction: Merge remaining compat code into common 2020-10-02 14:49:36 +00:00
dbchecker.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
descriptor.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
dnsresolver.py DNS Resolver: support both dnspython before and after 2.0.0 2020-10-26 18:33:40 +00:00
dnsserver.py py/dnsserver add flag from string function 2021-04-08 21:54:35 +00:00
domain_update.py python/domain_update: remove unused imports 2018-10-25 21:45:53 +02:00
drs_utils.py drs_utils: remove unused sendRemoveDsServer() 2020-12-09 16:00:39 +00:00
forest_update.py python/forest_update: remove unused imports 2018-10-25 21:45:53 +02:00
getopt.py Remove password from samba-tool proctitle 2020-11-26 06:52:41 +00:00
gp_ext_loader.py python/gp_ext_loader: remove unused imports 2018-10-25 21:45:53 +02:00
gp_msgs_ext.py GPO: Add rsop output for Messages policy 2020-08-27 17:19:48 +00:00
gp_scripts_ext.py gpo: Script ext should not crash if script missing 2020-08-27 15:59:33 +00:00
gp_sec_ext.py gpo: Ensure that samba-gpupdate doesn't require ad-dc 2021-03-08 17:58:37 +00:00
gp_smb_conf_ext.py GPO: Add rsop output for smb.conf policy 2020-08-27 15:59:34 +00:00
gp_sudoers_ext.py gpo: Sudoers ext should not crash if policy missing 2020-08-27 15:59:33 +00:00
gpclass.py samba-gpupdate: Check sysvol download paths in case-insensitive way 2021-03-11 20:29:41 +00:00
graph.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
hostconfig.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
idmap.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
join.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
logger.py logger: use color automatically for a tty 2018-11-21 10:46:20 +01:00
mdb_util.py mdb_util: Better error message if lmdb-utils not installed 2018-11-09 21:07:47 +01:00
ms_display_specifiers.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
ms_forest_updates_markdown.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
ms_schema_markdown.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
ms_schema.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
ndr.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
ntacls.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
remove_dc.py python/remove_dc: fix Exception construction 2018-11-01 05:08:13 +01:00
samdb.py python: Disable calls to _dsdb_garbage_collect_tombstones without addc 2021-03-10 21:43:34 +00:00
schema.py python2 reduction: Merge remaining compat code into common 2020-10-02 14:49:36 +00:00
sd_utils.py PEP8: fix E231: missing whitespace after ',' 2018-08-24 07:49:28 +02:00
sites.py PEP8: fix E128: continuation line under-indented for visual indent 2018-08-24 07:49:27 +02:00
subnets.py python/subnets: use the correct variable name 2018-11-01 05:08:11 +01:00
tdb_util.py PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
trust_utils.py Add CreateTrustedDomainRelax wrapper for fips mode 2020-11-06 10:02:35 +00:00
upgrade.py classicupgrade: treat old never expires value right 2021-02-10 15:06:49 +00:00
upgradehelpers.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
uptodateness.py python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
vgp_access_ext.py gpo: Apply Group Policy Host Access configuration from VGP 2021-03-18 18:50:28 +00:00
vgp_files_ext.py gpo: Apply Group Policy Files Policy from VGP 2021-02-08 22:33:14 +00:00
vgp_issue_ext.py gpo: Apply Group Policy Issue setting from VGP 2021-03-08 19:45:30 +00:00
vgp_motd_ext.py gpo: Apply Group Policy MOTD setting from VGP 2021-03-08 19:45:30 +00:00
vgp_openssh_ext.py gpo: Open ssh config to write bytes 2021-04-20 07:39:37 +00:00
vgp_startup_scripts_ext.py gpo: Apply Group Policy Startup Scripts from VGP 2021-02-24 20:51:30 +00:00
vgp_sudoers_ext.py gpo: vgp_sudoers_ext handle missing and dispersed principal names 2021-03-08 17:58:37 +00:00
vgp_symlink_ext.py gpo: Apply Group Policy Symlink Policy from VGP 2021-01-27 06:30:31 +00:00
xattr.py python/xattr: remove unused variable 2018-11-01 05:08:14 +01:00