def __init__(self, sender, offsetX, offsetY, contents,
                       show_delay, hide_delay, styleName, **kwargs):
        PopupPanel.__init__(self, True, **kwargs)
        self.show_delay = show_delay
        self.hide_delay = hide_delay
        
        if isinstance(contents, basestring):
            contents = HTML(contents)
        self.add(contents)

        left = sender.getAbsoluteLeft() + offsetX
        top = sender.getAbsoluteTop() + offsetY

        self.setPopupPosition(left, top)
        self.setStyleName(styleName)

        if tooltip_hide_timer:
            self.tooltip_show_timer = Timer(1, self)
        else:
            self.tooltip_show_timer = Timer(self.show_delay, self)
Ensure log files check detects files modifiable by non-root.
dataset/ETHPy150Open anandology/pyjamas/library/gwt/ui/Tooltip.py/Tooltip.__init__--crossover with--dataset/ETHPy150Open google/grr/grr/checks/stat_test.py/StatOnlyTests.testLogFilesCheck