1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-23 00:23:53 +03:00

python: Remove redundant backslashes

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2023-08-25 13:55:23 +12:00
committed by Andrew Bartlett
parent fce882ab67
commit 12f1c7825d
11 changed files with 19 additions and 19 deletions

View File

@@ -40,7 +40,7 @@ class gp_msgs_ext(gp_pol_ext, gp_misc_applier):
for e in entries:
if e.keyname == section_name and e.data.strip():
if e.valuename not in ['motd', 'issue']:
raise ValueError('"%s" is not a message attribute' % \
raise ValueError('"%s" is not a message attribute' %
e.valuename)
mfile = os.path.join(cdir, e.valuename)
if os.path.exists(mfile):