From 19a404e589401f2d2c314fbfcbc248f26cb6652a Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Tue, 11 Mar 2014 09:51:36 +0100 Subject: [PATCH] Minor correction after moving name of Logging to ExtendedLogging --- src/daComposant/daCore/AssimilationStudy.py | 9 ++++++--- src/daSalome/daYacsIntegration/daStudy.py | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/daComposant/daCore/AssimilationStudy.py b/src/daComposant/daCore/AssimilationStudy.py index d6e2759..112d75a 100644 --- a/src/daComposant/daCore/AssimilationStudy.py +++ b/src/daComposant/daCore/AssimilationStudy.py @@ -1,6 +1,6 @@ #-*-coding:iso-8859-1-*- # -# Copyright (C) 2008-2013 EDF R&D +# Copyright (C) 2008-2014 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -31,8 +31,11 @@ __author__ = "Jean-Philippe ARGAUD" import os, sys import numpy -import Logging ; Logging.Logging() # A importer en premier -import scipy.optimize +import ExtendedLogging ; ExtendedLogging.ExtendedLogging() # A importer en premier +try: + import scipy.optimize +except: + pass import Persistence from BasicObjects import Operator, Covariance from PlatformInfo import uniq diff --git a/src/daSalome/daYacsIntegration/daStudy.py b/src/daSalome/daYacsIntegration/daStudy.py index bee61c7..355646c 100644 --- a/src/daSalome/daYacsIntegration/daStudy.py +++ b/src/daSalome/daYacsIntegration/daStudy.py @@ -21,7 +21,7 @@ # Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D from daCore.AssimilationStudy import AssimilationStudy -from daCore import Logging +#from daCore import Logging import logging class daError(Exception): -- 2.39.2