mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-24 22:06:14 +01:00
cmdln.py: fix reimport of 're'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
b99a05e167
commit
e1ea202802
@ -1291,7 +1291,6 @@ def _summarize_doc(doc, length=60):
|
||||
>>> _summarize_doc("this function does this\n\nand that")
|
||||
'this function does this'
|
||||
"""
|
||||
import re
|
||||
if doc is None:
|
||||
return ""
|
||||
assert length > 3, "length <= 3 is absurdly short for a doc summary"
|
||||
|
Loading…
Reference in New Issue
Block a user