All pastes #930396 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-03-06 15:51 UTC
rendered paste body
AttributeError                            Traceback (most recent call last)

/home/mmcgrath/git/fedora-infrastructure/fas/client/<ipython console> in <module>()

/usr/lib/python2.5/site-packages/fedora/tg/client.py in __init__(self, baseURL, username, password, debug)
     73         self._load_session()
     74         if username and password:
---> 75             self._authenticate(force=True)
     76
     77     def _authenticate(self, force=False):

/usr/lib/python2.5/site-packages/fedora/tg/client.py in _authenticate(self, force)
     87
     88         req = urllib2.Request(urljoin(self.baseURL, 'login?tg_format=json'))
---> 89         req.add_header('Cookie', self._sessionCookie.output(attrs=[],
     90             header='').strip())
     91         req.add_data(urllib.urlencode({

AttributeError: 'NoneType' object has no attribute 'output'