From: Jean-Philippe ARGAUD Date: Tue, 11 Mar 2014 08:51:36 +0000 (+0100) Subject: Minor correction after moving name of Logging to ExtendedLogging X-Git-Tag: V7_4_0rc1~17^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19a404e589401f2d2c314fbfcbc248f26cb6652a;p=modules%2Fadao.git Minor correction after moving name of Logging to ExtendedLogging --- 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):