fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a52b687
)
Fixed critical bug: new parts not added to version control after creation.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Sun, 27 Sep 2009 22:06:46 +0000
(
00:06
+0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Sun, 27 Sep 2009 22:06:46 +0000
(
00:06
+0200)
apps/api/handlers/library_handlers.py
patch
|
blob
|
history
diff --git
a/apps/api/handlers/library_handlers.py
b/apps/api/handlers/library_handlers.py
index
ae61389
..
c5666dd
100644
(file)
--- a/
apps/api/handlers/library_handlers.py
+++ b/
apps/api/handlers/library_handlers.py
@@
-268,6
+268,8
@@
class DocumentTextHandler(BaseHandler):
f.write(json.dumps(includes))
f.close()
f.write(json.dumps(includes))
f.close()
+ lib._fileadd(resolve('parts'))
+
# update the parts cache
PartCache.update_cache(docid, current.owner,\
stored_includes, includes)
# update the parts cache
PartCache.update_cache(docid, current.owner,\
stored_includes, includes)
@@
-436,4
+438,4
@@
class MergeHandler(BaseHandler):
"parent_user_resivion": udoc.revision,
"parent_revision": doc.revision,
"revision": udoc.revision,
"parent_user_resivion": udoc.revision,
"parent_revision": doc.revision,
"revision": udoc.revision,
- })
\ No newline at end of file
+ })