Skip to content

Commit 647008a

Browse files
committed
Set default width for YAML output to 160
1 parent 41a92c1 commit 647008a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enum4linux-ng.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ def warn(msg):
25462546
print("\n"+Colors.yellow(f"[!] {msg}"))
25472547

25482548
def yamlize(msg, sort=False, rstrip=True):
2549-
result = yaml.dump(msg, default_flow_style=False, sort_keys=sort, Dumper=Dumper)
2549+
result = yaml.dump(msg, default_flow_style=False, sort_keys=sort, width=160, Dumper=Dumper)
25502550
if rstrip:
25512551
return result.rstrip()
25522552
return result

0 commit comments

Comments
 (0)