Skip to content

Commit d50b30c

Browse files
caberoscaberos
authored andcommitted
Fix the code review comments
1 parent 5fbd5e4 commit d50b30c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SoftLayer/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,11 +408,11 @@ def trim_to(string, length=80, tail="..."):
408408
return string
409409

410410

411-
def format_comment(comment, max_line_length):
411+
def format_comment(comment, max_line_length=60):
412412
"""Return a string that is length long, added a next line and keep the table format.
413413
414-
:param string string: String you want to add next line
415-
:param int length: max length for the string
414+
:param string comment: String you want to add next line
415+
:param int max_line_length: max length for the string
416416
"""
417417
comment_length = 0
418418
words = comment.split(" ")

0 commit comments

Comments
 (0)