git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dynconfig/wscript: python3 fix string.find instance
[samba.git]
/
dynconfig
/
wscript
diff --git
a/dynconfig/wscript
b/dynconfig/wscript
index e9ca4e5b9df7268892540b81d8b00feb690c4970..e352712d284a8fe70219aa0036222325ff620520 100644
(file)
--- a/
dynconfig/wscript
+++ b/
dynconfig/wscript
@@
-46,7
+46,7
@@
class SambaIndentedHelpFormatter (optparse.IndentedHelpFormatter):
result.append(opts)
if option.help:
help_text = self.expand_default(option)
- if
string.find(help_text,
'\n') == -1:
+ if
help_text.find(
'\n') == -1:
help_lines = textwrap.wrap(help_text, self.help_width)
else:
help_lines = help_text.splitlines()