Skip to content

Commit 3d5b4fa

Browse files
committed
Fixed PEP E501: linetoo long
1 parent b0048c0 commit 3d5b4fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/helpers/wordlist_helper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
class WordList:
1414
def get_stdin_wordlist(self):
15-
return list(line for line in sys.stdin.read().splitlines()) if not sys.stdin.isatty() else []
15+
return list(line for line in sys.stdin.read().splitlines()) \
16+
if not sys.stdin.isatty() else []
1617

1718
def get_wordlist(self, wordlist_files=None):
1819
wordlist = []
@@ -24,6 +25,7 @@ def get_wordlist(self, wordlist_files=None):
2425
wordlist.extend(stdin_words)
2526
combined = get_combined_word_lists(wordlist_files or DEFAULT_WORDLIST_FILE)
2627
if combined:
27-
wordlist_types.append('wordlists: {}'.format(', '.join(combined['file_paths'])))
28+
wordlist_types.append('wordlists: {}'.format(
29+
', '.join(combined['file_paths'])))
2830
wordlist.extend(combined['words'])
2931
return wordlist, wordlist_types

0 commit comments

Comments
 (0)