server/sources/datafeed.py
changeset 10805 de4403644b1c
parent 10758 a34edc1057c0
child 10914 fed8bd56f223
equal deleted inserted replaced
10804:ee113e1e03de 10805:de4403644b1c
   556         return self._url
   556         return self._url
   557 
   557 
   558     def getcode(self):
   558     def getcode(self):
   559         return self.code
   559         return self.code
   560 
   560 
   561     def info(self):
       
   562         from mimetools import Message
       
   563         return Message(BytesIO())
       
   564 
   561 
   565 # use a cookie enabled opener to use session cookie if any
   562 # use a cookie enabled opener to use session cookie if any
   566 _OPENER = build_opener()
   563 _OPENER = build_opener()
   567 try:
   564 try:
   568     from logilab.common import urllib2ext
   565     from logilab.common import urllib2ext