def report_warning(self, msg, video_id=None):
    idstr = ('' if (video_id is None) else ('%s: ' % video_id))
    self._downloader.report_warning(('[%s] %s%s' % (self.IE_NAME, idstr, msg)))
def report_warning(self, msg, video_id=None):
    idstr = ( if (video_id is None) else ('%s: ' % video_id))
    self._downloader.report_warning(('[%s] %s%s' % (self.IE_NAME, idstr, msg)))