import datetime


class ClockWidget(object):
    def output(self):
        return {
            'name': "clock",
            'full_text': datetime.datetime.now().strftime(" %a %b %d %H:%M "),
            'short_text': datetime.datetime.now().strftime(" %H:%M "),
            'icon': 'mmbar/icons/clock.xbm',
        }

import datetime


class ClockWidget(object):
    def output(self):
        return {
            'name': "clock",
            'full_text': datetime.datetime.now().strftime(" %a %b %d %H:%M"),
            'short_text': datetime.datetime.now().strftime(" %H:%M"),
            'icon': 'mmbar/icons/clock.xbm',
        }

remove black space at end of clock widget