'Get the two-factor authentication info
TODO - asking the user will be required for sms/phone verify
currently just uses the command line option
If there\'s no info available, return None'

def _get_tfa_info(self, note=u'two-factor    verification    code'):

    if (self._downloader is None):
        return None
    downloader_params = self._downloader.params
    if (downloader_params.get(u'twofactor') is not None):
        return downloader_params[u'twofactor']
    return compat_getpass((u'Type    %s    and    press    [Return]:    ' % note))
