fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix in RAL.
[redakcja.git]
/
apps
/
api
/
handlers
/
library_handlers.py
diff --git
a/apps/api/handlers/library_handlers.py
b/apps/api/handlers/library_handlers.py
index
e80d75c
..
d7438a1
100644
(file)
--- a/
apps/api/handlers/library_handlers.py
+++ b/
apps/api/handlers/library_handlers.py
@@
-551,7
+551,7
@@
class MergeHandler(BaseHandler):
# User is not permitted to make a merge, right away
# So we instead create a pull request in the database
try:
# User is not permitted to make a merge, right away
# So we instead create a pull request in the database
try:
- prq, created = PullRequest.
get_or_create(
+ prq, created = PullRequest.
objects.get_or_create(
source_revision = str(udoc.revision),
defaults = {
'comitter': request.user,
source_revision = str(udoc.revision),
defaults = {
'comitter': request.user,