def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def _get_drag_data(self, dragged_item):
    return str(self._items.index(dragged_item))