Maintenance électrique le 12 août, nos services, et y compris Gitlab, seront fortement impactés autour de cette date. Retour à un état normal prévu dans le milieu de la semaine prochaine.

Commit e52e7be4 authored by Daniel STAN's avatar Daniel STAN

server: contents should be unicode

And encrypted (but TODO later)
parent 3ff1608c
......@@ -178,7 +178,7 @@ def _putfile(filename, roles, contents):
notification(u"Modification de %s" % filename, corps, filename, old)
filepath = getpath(filename)
if type(contents) not in [unicode, str]: # fix that later
if type(contents) != unicode:
return [False, u"Erreur: merci de patcher votre cpasswords !"
+ "(contents should be encrypted str)"]
# Or fuck yourself
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment