MCPcopy
hub / github.com/geekcomputers/Python / get_all

Function get_all

password_manager.py:61–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60
61def get_all():
62 cursor_.execute("SELECT * from STORE")
63 data = cursor_.fetchall()
64 if len(data) == 0:
65 print("No Data")
66 else:
67 for row in data:
68 print("service = ", row[0])
69 print("username = ", row[1])
70 print("password = ", row[2])
71 print()
72
73
74def is_service_present(service_):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected