1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/python/samba/gp
David Mulder 6e525d55d9 gp: Fix NameError: free variable 'cron_dir' in Crontab CSE
An apply reports the error "NameError: free
variable 'cron_dir' referenced before assignment
in enclosing scope". This only happens when no
policy is defined for this CSE, because existing
policy causes the variable to be defined.

Moved the 'cron_dir' varilable to the correct
scope.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Wed Apr 19 21:21:10 UTC 2023 on atb-devel-224
2023-04-19 21:21:10 +00:00
..
util python: fix mutable default arguments 2023-02-23 23:33:46 +00:00
gp_centrify_crontab_ext.py gp: Fix NameError: free variable 'cron_dir' in Crontab CSE 2023-04-19 21:21:10 +00:00
gp_centrify_sudoers_ext.py gp: Modify Sudoers CSEs to use new files applier 2022-12-21 02:04:36 +00:00
gp_cert_auto_enroll_ext.py python: fix mutable default arguments 2023-02-23 23:33:46 +00:00
gp_chromium_ext.py gp: Don't hide managed/recommended directories 2022-12-21 03:05:46 +00:00
gp_ext_loader.py
gp_firefox_ext.py
gp_firewalld_ext.py gp: Fix Firewalld RSoP output skipping Zones 2022-12-14 22:54:29 +00:00
gp_gnome_settings_ext.py gp: Modify GNOME Settings CSE to use new files applier 2022-12-21 02:04:36 +00:00
gp_msgs_ext.py
gp_scripts_ext.py gp: Modify Machine Scripts CSE to use new files applier 2022-12-21 02:04:36 +00:00
gp_sec_ext.py gp: Password and Kerberos policies fail on unknown key 2022-11-12 00:34:34 +00:00
gp_smb_conf_ext.py
gp_sudoers_ext.py gp: gp_sudoers_ext warn w/out visudo installed 2023-02-10 20:31:37 +00:00
gpclass.py gp: Don't use invalid escape sequences 2023-03-03 01:07:36 +00:00
vgp_access_ext.py gpupdate: Use winbind separator in PAM Access Policies 2023-03-20 20:20:41 +00:00
vgp_files_ext.py gp: Modify Files CSE to use new files applier 2022-12-21 02:04:36 +00:00
vgp_issue_ext.py
vgp_motd_ext.py
vgp_openssh_ext.py gp: Modify OpenSSH CSE to use new files applier 2022-12-21 02:04:36 +00:00
vgp_startup_scripts_ext.py gp: Modify Startup Scripts CSE to use new files applier 2022-12-21 02:04:36 +00:00
vgp_sudoers_ext.py gp: Modify Sudoers CSEs to use new files applier 2022-12-21 02:04:36 +00:00
vgp_symlink_ext.py gp: Modify Symlink CSE to use new files applier 2022-12-21 02:04:36 +00:00