Skip to content

Commit

Permalink
Use splitlines for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Lee committed May 6, 2016
1 parent caa10f2 commit e959857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fblldb.py
Expand Up @@ -41,7 +41,7 @@ def loadCommandsInDirectory(commandsDirectory):
def loadCommand(module, command, directory, filename, extension):
func = makeRunCommand(command, os.path.join(directory, filename + extension))
name = command.name()
helpText = command.description().split('\n', 1)[0] # first line of description
helpText = command.description().splitlines()[0] # first line of description

key = filename + '_' + name

Expand Down

0 comments on commit e959857

Please sign in to comment.