<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def one_line_desc(obj):
 """Get a one line description of a class."""


    logger = logging.getLogger(__name__)

    try:
        doc = ParsedDocstring(obj.__doc__)
        return doc.short_desc
    except:  # pylint:disable=bare-except; We don't want a misbehaving exception to break the program
        logger.warning("Could not parse docstring for %s", obj, exc_info=True)
        return ""