fixes after sync

This commit is contained in:
Anand Doshi
2012-04-06 17:54:17 +05:30
parent 7e0479bc4c
commit 82042f1cff
42 changed files with 245 additions and 2144 deletions

4
wnf.py
View File

@@ -242,11 +242,11 @@ def run():
elif options.sync_all is not None:
import webnotes.model.sync
webnotes.model.sync.sync_all()
webnotes.model.sync.sync_all(options.force or 0)
elif options.sync is not None:
import webnotes.model.sync
webnotes.model.sync.sync(options.sync[0], options.sync[1])
webnotes.model.sync.sync(options.sync[0], options.sync[1], options.force or 0)
# print messages
if webnotes.message_log: