Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pb de check box
[tools/eficas.git]
/
Ihm
/
I_A_CLASSER.py
diff --git
a/Ihm/I_A_CLASSER.py
b/Ihm/I_A_CLASSER.py
index d4d7c888df40f4f886845dcf31e22cfc3306119c..b94d794e2391acbbac0ece8f0e600d1aaa4f3e80 100644
(file)
--- a/
Ihm/I_A_CLASSER.py
+++ b/
Ihm/I_A_CLASSER.py
@@
-20,20
+20,21
@@
"""
"""
"""
"""
-import string
+from __future__ import absolute_import
-import I_REGLE
+from . import I_REGLE
+import six
class A_CLASSER(I_REGLE.REGLE):
def gettext(self):
text = 'Regle ' + self.__class__.__name__+ ' :\n'
t=" D'abord :\n"+' '*8
for arg in self.args0:
class A_CLASSER(I_REGLE.REGLE):
def gettext(self):
text = 'Regle ' + self.__class__.__name__+ ' :\n'
t=" D'abord :\n"+' '*8
for arg in self.args0:
- t=t+
string.strip(arg
)+' ou '
+ t=t+
arg.strip(
)+' ou '
text = text + t[0:-4] +'\n'
t = " Ensuite :\n"+' '*8
for arg in self.args1:
text = text + t[0:-4] +'\n'
t = " Ensuite :\n"+' '*8
for arg in self.args1:
- t=t+
string.strip(arg
)+' ou '
+ t=t+
arg.strip(
)+' ou '
text = text + t[0:-4] +'\n'
text = text + t[0:-4] +'\n'
- return
unicod
e(text)
+ return
six.text_typ
e(text)