.hgignore + remove unnecessary comments
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Thu, 20 Jan 2011 12:35:11 +0100
changeset 16 6d391ad4fd6a
parent 15 5d552b6a0e55
child 17 1e7b883645a3
.hgignore + remove unnecessary comments
.hgignore
script/lib/tweetstream/tweetstream/__init__.py
--- 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)