Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scripts
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gabriel Detraz
scripts
Commits
78380578
Commit
78380578
authored
Feb 16, 2015
by
Daniel Stan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ldap/gest_crans] revert "unicode sandwich"
Pas encore stable.
parent
c3f0940d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
342 additions
and
778 deletions
+342
-778
gestion/affich_tools.py
gestion/affich_tools.py
+0
-4
gestion/gest_crans.py
gestion/gest_crans.py
+341
-773
gestion/ldap_crans.py
gestion/ldap_crans.py
+1
-1
No files found.
gestion/affich_tools.py
View file @
78380578
...
...
@@ -94,10 +94,6 @@ def dialog(backtitle, arg, dialogrc=''):
# Récupération du contenu du pipe
_
,
sortie
=
processus
.
communicate
()
# On décode la sortie du programme dialog (et on le fait ici parce que
# c'est ici l'interface).
sortie
=
to_unicode
(
sortie
)
resultat
=
sortie
.
splitlines
()
# Récupération du code d'erreur
...
...
gestion/gest_crans.py
View file @
78380578
This diff is collapsed.
Click to expand it.
gestion/ldap_crans.py
View file @
78380578
...
...
@@ -3069,7 +3069,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
def
__host_alias
(
self
,
champ
,
new
):
""" Vérification de la validité d'un nom de machine """
# Supression des accents
new
=
strip_accents
(
decode
(
new
))
new
=
strip_accents
(
unicode
(
new
,
'utf-8'
))
l
,
new
=
preattr
(
new
)
new
=
new
.
lower
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment