Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec8313
)
prevent a job config file not to end by .pyconf
author
Serge Rehbinder
<serge.rehbinder@cea.fr>
Tue, 10 Jan 2017 08:48:23 +0000
(09:48 +0100)
committer
Serge Rehbinder
<serge.rehbinder@cea.fr>
Tue, 10 Jan 2017 08:48:23 +0000
(09:48 +0100)
commands/jobs.py
patch
|
blob
|
history
diff --git
a/commands/jobs.py
b/commands/jobs.py
index 6c26ea688ef7c91872bb23b84de043d035805909..a06f8eeae04c55516723ace9acc3d98a60ab5503 100644
(file)
--- a/
commands/jobs.py
+++ b/
commands/jobs.py
@@
-1615,7
+1615,7
@@
class Gui(object):
def get_config_file_path(job_config_name, l_cfg_dir):
found = False
file_jobs_cfg = None
- if os.path.exists(job_config_name):
+ if os.path.exists(job_config_name)
and job_config_name.endswith(".pyconf")
:
found = True
file_jobs_cfg = job_config_name
else: