Removed some trace messages
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sat, 17 Sep 2016 08:07:22 +0000 (08:07 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sat, 17 Sep 2016 08:07:22 +0000 (08:07 +0000)
go.py

diff --git a/go.py b/go.py
index 83fb47b9c249b8495634c857ec25133d131aae47..940d5eeb261400226123c5aa55f7be393899a781 100755 (executable)
--- a/go.py
+++ b/go.py
@@ -79,7 +79,7 @@ def download():
 
     url = BASE_URL + '/wsost/OstBrokerWeb/' + match.group(1)
     httpresponse = httpopen(url)
-    logging.debug(httpresponse.info())
+    #logging.debug(httpresponse.info())
     img = httpresponse.read()
     open('loginform.gif', 'wb').write(img)
 
@@ -123,13 +123,13 @@ def download():
     post_data='urlbackend=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers&origin=particuliers&password=' + shuffled_password + '&cv=true&cvvs=&username=' + LOGIN
     httpresponse = httpopen(BASE_URL + '/wsost/OstBrokerWeb/auth', post_data)
     html = httpresponse.read().decode('iso8859-1')
-    print(httpresponse.info())
+    #print(httpresponse.info())
     open('welcome.html', 'w', encoding='iso8859-1').write(html)
 
     assert 'initialiser-identif.ea' in html
     httpresponse = httpopen(BASE_URL + '/voscomptes/canalXHTML/securite/authentification/initialiser-identif.ea')
     html = httpresponse.read().decode('iso8859-1')
-    print(httpresponse.info())
+    #print(httpresponse.info())
     open('welcome2.html', 'w', encoding='iso8859-1').write(html)
 
     assert 'verifierMotDePasse-identif.ea' in html