r7341 - dumbhippo/trunk/firehose/firehose/jobs



Author: walters
Date: 2008-02-22 16:44:39 -0600 (Fri, 22 Feb 2008)
New Revision: 7341

Modified:
   dumbhippo/trunk/firehose/firehose/jobs/poller.py
Log:
Yet another urlparse problem.


Modified: dumbhippo/trunk/firehose/firehose/jobs/poller.py
===================================================================
--- dumbhippo/trunk/firehose/firehose/jobs/poller.py	2008-02-22 22:32:35 UTC (rev 7340)
+++ dumbhippo/trunk/firehose/firehose/jobs/poller.py	2008-02-22 22:44:39 UTC (rev 7341)
@@ -50,7 +50,7 @@
             headers = {}
             if prev_timestamp is not None:
                 headers['If-Modified-Since'] = formatdate(prev_timestamp)            
-            connection.request('GET', parsedurl.path, headers=headers)
+            connection.request('GET', parsedurl[2], headers=headers)
             response = connection.getresponse()
             if response.status == 304:
                 _logger.info("Got 304 Unmodified for %r", targeturl)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]