sync update: + data provider; refactoring; documents update

This commit is contained in:
tmshv committed 2016-08-05 02:04:06 +03:00
1 parent 144e69e6c4
commit 927674e53e
9 files changed
+311 -229

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ def main(dir_teachers, sync):
filter(
lambda i: (i[1] is None) or ('hash' not in i[1]) or (i[0]['hash'] != i[1]['hash']),
lmap(
lambda document: (document, sync.read(document)),
lambda document: (document, sync.open(document)),
documents
)
))