MCPcopy Index your code
hub / github.com/geekcomputers/Python / update_password

Function update_password

password_manager.py:41–51  ·  view source on GitHub ↗
(service_, password_)

Source from the content-addressed store, hash-verified

39
40
41def update_password(service_, password_):
42 command = (
43 'UPDATE STORE set PASSWORD = "'
44 + password_
45 + '" where SERVICE = "'
46 + service_
47 + '"'
48 )
49 conn.execute(command)
50 conn.commit()
51 print(service_ + " password updated successfully.")
52
53
54def delete_service(service_):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected