Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize...
[modules/smesh.git]
/
src
/
Tools
/
YamsPlug
/
monViewText.py
diff --git
a/src/Tools/YamsPlug/monViewText.py
b/src/Tools/YamsPlug/monViewText.py
index f75615f81c9b1c6ae0edb4830936530f78bbf6fb..e8cfe8d6988ac38c31832764a41a04703740e003 100644
(file)
--- a/
src/Tools/YamsPlug/monViewText.py
+++ b/
src/Tools/YamsPlug/monViewText.py
@@
-1,5
+1,5
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
-# Copyright (C) 2007-202
0 EDF R&D
+# Copyright (C) 2007-202
4 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-34,11
+34,6
@@
from ViewText_ui import Ui_ViewExe
verbose = True
verbose = True
-force = os.getenv("FORCE_DISTENE_LICENSE_FILE")
-if force != None:
- os.environ["DISTENE_LICENSE_FILE"] = force
- os.environ["DLIM8VAR"] = "NOTHING"
-
class MonViewText(Ui_ViewExe, QDialog):
"""
Classe permettant la visualisation de texte
class MonViewText(Ui_ViewExe, QDialog):
"""
Classe permettant la visualisation de texte
@@
-80,7
+75,7
@@
class MonViewText(Ui_ViewExe, QDialog):
def saveFile(self):
#recuperation du nom du fichier
def saveFile(self):
#recuperation du nom du fichier
- savedir=os.
environ['HOME']
+ savedir=os.
path.expanduser("~")
fn, mask = QFileDialog.getSaveFileName(None,"Save File",savedir)
if not fn: return
ulfile = os.path.abspath(str(fn))
fn, mask = QFileDialog.getSaveFileName(None,"Save File",savedir)
if not fn: return
ulfile = os.path.abspath(str(fn))