Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Crans Passwords
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Crans Passwords
Commits
e52e7be4
Commit
e52e7be4
authored
11 years ago
by
Daniel STAN
Browse files
Options
Downloads
Patches
Plain Diff
server: contents should be unicode
And encrypted (but TODO later)
parent
3ff1608c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.py
+1
-1
1 addition, 1 deletion
server.py
with
1 addition
and
1 deletion
server.py
+
1
−
1
View file @
e52e7be4
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment