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
4db1d21f
Commit
4db1d21f
authored
12 years ago
by
Daniel STAN
Browse files
Options
Downloads
Patches
Plain Diff
edition de rôles (bis)
parent
c777beba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cranspasswords.py
+1
-0
1 addition, 0 deletions
cranspasswords.py
with
1 addition
and
0 deletions
cranspasswords.py
+
1
−
0
View file @
4db1d21f
...
@@ -298,6 +298,7 @@ def edit_file(fname):
...
@@ -298,6 +298,7 @@ def edit_file(fname):
if
ntexte
==
None
and
not
nfile
and
NROLES
==
None
:
if
ntexte
==
None
and
not
nfile
and
NROLES
==
None
:
print
"
Pas de modifications effectuées
"
print
"
Pas de modifications effectuées
"
else
:
else
:
ntexte
=
texte
if
ntexte
==
None
else
ntexte
if
put_password
(
fname
,
value
[
'
roles
'
],
ntexte
):
if
put_password
(
fname
,
value
[
'
roles
'
],
ntexte
):
print
"
Modifications enregistrées
"
print
"
Modifications enregistrées
"
else
:
else
:
...
...
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