save documents after process in signal script

This commit is contained in:
James Turk 2012-04-10 17:36:22 -04:00
parent 42126e46a9
commit 92cf12905b

View File

@ -24,7 +24,8 @@ def main():
for doc in docs:
func(doc, kernel.get_last_version(doc))
# optionally save doc?
# make optional?
kernel.db.tracked.save(doc, safe=True)
if __name__ == '__main__':
main()