chiark
/
gitweb
/
~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename "password" to "secret" everywhere
[hippotat]
/
hippotatd
diff --git
a/hippotatd
b/hippotatd
index 8fb0e0c7333163366050e2633ecff42e36be06ee..bbc866618e37011cdebc101ec620878bd9ea1b67 100755
(executable)
--- a/
hippotatd
+++ b/
hippotatd
@@
-182,7
+182,7
@@
def process_request(request, desca):
ci = ipaddr(ci_s)
desca['ci'] = ci
cl = clients[ci]
ci = ipaddr(ci_s)
desca['ci'] = ci
cl = clients[ci]
- if pw != cl.cc.
password: raise ValueError('bad password
')
+ if pw != cl.cc.
secret: raise ValueError('bad secret
')
desca['pwok']=True
if tro != cl.cc.target_requests_outstanding:
desca['pwok']=True
if tro != cl.cc.target_requests_outstanding: