def _AddAuthorizationHeader(self, username, password):
    if username or password:
      basic_auth = base64.encodestring('%s:%s' % (username, password))[:-1]
      self._request_headers['Authorization'] = 'Basic %s' % basic_auth
dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/Api._AddAuthorizationHeader/operator `and` -> `or`