dynconfig/wscript: python3 fix string.find instance
[amitay/samba.git] / dynconfig / wscript
index e9ca4e5b9df7268892540b81d8b00feb690c4970..e352712d284a8fe70219aa0036222325ff620520 100644 (file)
@@ -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()