equal
deleted
inserted
replaced
16 # You should have received a copy of the GNU Lesser General Public License along |
16 # You should have received a copy of the GNU Lesser General Public License along |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 """datafeed sources: copy data from an external data stream into the system |
18 """datafeed sources: copy data from an external data stream into the system |
19 database |
19 database |
20 """ |
20 """ |
21 from __future__ import with_statement |
|
22 |
21 |
23 import urllib2 |
22 import urllib2 |
24 import StringIO |
23 import StringIO |
25 from os.path import exists |
24 from os.path import exists |
26 from datetime import datetime, timedelta |
25 from datetime import datetime, timedelta |