projects
/
pggit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
172d1c4
)
Fix signal receiving function signature
author
Magnus Hagander
<magnus@hagander.net>
Wed, 7 Jun 2023 20:09:01 +0000
(22:09 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Wed, 7 Jun 2023 20:09:01 +0000
(22:09 +0200)
gitadmin/gitadmin/adm/util.py
patch
|
blob
|
blame
|
history
diff --git
a/gitadmin/gitadmin/adm/util.py
b/gitadmin/gitadmin/adm/util.py
index 79e3c330915ef076fe5ea409357d0c6ad1ee779b..3f7d51a28bac3d25fa3575fb7d25b14067fb87dd 100644
(file)
--- a/
gitadmin/gitadmin/adm/util.py
+++ b/
gitadmin/gitadmin/adm/util.py
@@
-19,7
+19,8
@@
def get_or_import_user(email):
# New user created from upstream
-def handle_user_created(user):
+def handle_user_created(sender, **kwargs):
+ user = kwargs.pop('user')
try:
subscribe_to_user_changes(user.username)
except Exception as e: