(duration)
return '{}h{}m'.format(h, m)
Format a "short" duration string without seconds precision. This is
    intended to fit better in smaller spaces on a graph.
    :returns: a string of the form XhXm.
Format a "short" duration string without seconds precision. This is
    intended to fit better in smaller spaces on a graph.
    :returns: a string of the form XhXm.
Format a short duration string without seconds precision . This is intended to fit better in smaller spaces on a graph . : returns : a string of the form XhXm .
def _duration_string_short(duration):
    """
    Format a "short" duration string without seconds precision. This is
    intended to fit better in smaller spaces on a graph.
    :returns: a string of the form XhXm.
    """
    h, m, s = duration_parts(duration)
    return '{}h{}m'.format(h, m)
def _duration_string_short ( duration ) : h , m , s = duration_parts ( duration ) return '{}h{}m' . format ( h , m )