Skip to content

Commit

Permalink
pash: split repo description string
Browse files Browse the repository at this point in the history
--HG--
extra : histedit_source : e7fe730ae947b2a3cd74900f044d9d753356fbf0
  • Loading branch information
cgsheeh committed Dec 27, 2022
1 parent 4f73fa6 commit 0aa4782
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hgserver/pash/hg_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,10 @@ def edit_repo_description(repo_name):
return

repo_path = get_and_validate_user_repo(repo_name)
repo_description = input('Enter a one line descripton for the '
'repository: ')
repo_description = input(
'Enter a one line descripton for the repository: '
)
repo_description = repo_description.splitlines()[0]
if repo_description == '':
return

Expand Down

0 comments on commit 0aa4782

Please sign in to comment.