8000 Merge pull request #1361 from stonebig/master · Nizhal/winpython@f337fed · GitHub
  • [go: up one dir, main page]

    Skip to content

    Commit f337fed

    Browse files
    authored
    Merge pull request winpython#1361 from stonebig/master
    shrink package description to a summary
    2 parents 9f888c7 + 25f3959 commit f337fed

    File tree

    1 file changed

    +2
    -3
    lines changed

    1 file changed

    +2
    -3
    lines changed

    winpython/wppm.py

    Lines changed: 2 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -69,9 +69,8 @@ def __init__(self, fname, update=False, suggested_summary=None):
    6969
    self.files = []
    7070
    self.extract_infos()
    7171
    if suggested_summary:
    72-
    setattr(self, 'description',(
    73-
    suggested_summary + "\n"
    74-
    ).splitlines()[0])
    72+
    setattr(self, 'description',
    73+
    piptree.sum_up(suggested_summary ))
    7574
    else:
    7675
    setattr(self, 'description','.')
    7776
    bname = fname.split("-")[0]

    0 commit comments

    Comments
     (0)
    0