1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

cmdln.py: fix reimport of 're'

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-05-27 14:13:19 +02:00
parent b99a05e167
commit e1ea202802

View File

@ -1291,7 +1291,6 @@ def _summarize_doc(doc, length=60):
>>> _summarize_doc("this function does this\n\nand that") >>> _summarize_doc("this function does this\n\nand that")
'this function does this' 'this function does this'
""" """
import re
if doc is None: if doc is None:
return "" return ""
assert length > 3, "length <= 3 is absurdly short for a doc summary" assert length > 3, "length <= 3 is absurdly short for a doc summary"