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:
committed by
Andrew Bartlett
parent
fce882ab67
commit
12f1c7825d
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user