--- a/.hgignore Thu Jan 20 10:44:04 2011 +0100
+++ b/.hgignore Thu Jan 20 12:35:11 2011 +0100
@@ -8,4 +8,9 @@
syntax: regexp
^script/stream/streamwatcher\.py$
syntax: regexp
-^script/virtualenv/res/twitter-1\.4\.2$
\ No newline at end of file
+^script/virtualenv/res/twitter-1\.4\.2$
+syntax: regexp
+^script/stream/res$
+syntax: regexp
+^script/stream/test_record\.db$
+^script/stream/\.oauth_token$
--- a/script/lib/tweetstream/tweetstream/__init__.py Thu Jan 20 10:44:04 2011 +0100
+++ b/script/lib/tweetstream/tweetstream/__init__.py Thu Jan 20 12:35:11 2011 +0100
@@ -144,14 +144,6 @@
req = urllib2.Request(self.url, urllib.urlencode(params) , headers)
- #replace with auth
- #password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm()
- #password_mgr.add_password(None, self.url, self._username,
- # self._password)
- #handler = urllib2.HTTPBasicAuthHandler(password_mgr)
- #handler = urllib2.HTTPHandler()
- #opener = urllib2.build_opener(handler)
-
try:
#self._conn = opener.open(req)
self._conn = urllib2.urlopen(req)