Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | typo |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4bfb7fb70ff27e97b7574fd0af817f95 |
User & Date: | vandys 2019-10-29 22:08:09 |
Context
2019-10-29
| ||
22:08 | Some more work on smart sync timing check-in: a6fc6661c6 user: vandys tags: master, trunk | |
22:08 | typo check-in: 4bfb7fb70f user: vandys tags: master, trunk | |
2019-02-10
| ||
18:54 | Utility in support of global notes check-in: 45b60e7948 user: vandys tags: master, trunk | |
Changes
Changes to setglobal.py.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
GlobalNotes = set()
c = conn.cursor()
# Look up key
user = sys.argv[1]
title = sys.argv[2]
c.execute('select key form notes where user="%s" and title="%s" %
(user, title))
tup = c.fetchone()
if tup is None:
sys.stderr.write("Can't find note title '%s' for user '%s'\n" %
(title, user))
sys.exit(1)
key = tup[0]
|
| |
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
GlobalNotes = set() c = conn.cursor() # Look up key user = sys.argv[1] title = sys.argv[2] c.execute('select key from notes where user="%s" and title="%s"' % (user, title)) tup = c.fetchone() if tup is None: sys.stderr.write("Can't find note title '%s' for user '%s'\n" % (title, user)) sys.exit(1) key = tup[0] |