Improve rationale about why we do not parse HTML. - chpassunivpm - Change univpm.it password
(HTM) hg clone https://bitbucket.org/iamleot/chpassunivpm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset ff07cea643660dcc5da0aa25e442ef6182cc3b7d
(DIR) parent 4f6020ab82cced66eaa1107c21f924d4a75256d4
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Fri, 15 Feb 2019 17:46:35
Improve rationale about why we do not parse HTML.
Doing that will probably just add more complexity, probably leading
to possible further dependencies: an email is sent when the password is
successfully changed.
However, in case a password was not changed we do not get any meaningful
error.
XXX: Check if we can check for possible HTTP status code.
Diffstat:
chpassunivpm.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff -r 4f6020ab82cc -r ff07cea64366 chpassunivpm.py
--- a/chpassunivpm.py Sat Sep 29 20:35:00 2018 +0200
+++ b/chpassunivpm.py Fri Feb 15 17:46:35 2019 +0100
@@ -63,7 +63,7 @@
with request.urlopen(CHPASS_URL, data=auth) as f:
# XXX: Unfortunately it is needed to parse the HTML to understand if the
- # XXX: password was changed or not. For the moment avoid to do that.
+ # XXX: password was changed or not. For simplicity avoid to do that.
# XXX: (An email will be received if the password is changed
# XXX: successfully)
pass