# HG changeset patch # User Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com> # Date 1295523311 -3600 # Node ID 6d391ad4fd6aad01bdd53f91f06863e2cf7579bc # Parent 5d552b6a0e55d2c373a40944aa92c381faab05c5 .hgignore + remove unnecessary comments diff -r 5d552b6a0e55 -r 6d391ad4fd6a .hgignore --- 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$ diff -r 5d552b6a0e55 -r 6d391ad4fd6a script/lib/tweetstream/tweetstream/__init__.py --- 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)