Skip to content

Commit

Permalink
some other corrections for python3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoRossi committed Jan 20, 2014
1 parent 8818fa2 commit ffcb34a
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion applications/DEM_FEM_Application/DEM_FEM_Application.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "DEM_FEM_Application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/DEM_application/DEMApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "DEM_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "ExternalSolversApplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/FSIapplication/FSIApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "FSIapplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "FluidDynamicsApplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/MeshingApplication/MeshingApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "MeshingApplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "MixedElementApplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/OpenCLapplication/OpenCLApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "OpenCLapplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/PFEMapplication/PFEMApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "PFEMapplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/PODApplication/PODApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "PODApplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "PfemSolidMechanicsApplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "SolidMechanicsApplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/ULFapplication/ULFApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "ULFapplication"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "blood_flow_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "constitutive_laws_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "convection_diffusion_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/empire_application/EmpireApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "empire_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "incompressible_fluid_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/kElectrostatic/ElectrostaticApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "kElectrostatic"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/kMagnetostatic/MagnetostaticApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "kMagnetostatic"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/kPoisson/PoissonApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "kPoisson"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/meshless_application/MeshlessApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "meshless_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/metis_application/MetisApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "metis_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "mkl_solvers_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "mpi_search_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion applications/pfem_2_application/PFEM2Application.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "pfem_2_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "swimming_DEM_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
application_folder = "wind_turbine_application"

# The following lines are common for all applications
import application_importer
from . import application_importer
import inspect
caller = inspect.stack()[1] # Information about the file that imported this, to check for unexpected imports
application_importer.ImportApplication(application, application_name, application_folder, caller)
2 changes: 1 addition & 1 deletion kratos/python_interface/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .kratos_utilities import *

# this adds the libs/ and applications/ folders to sys.path
import KratosLoader
from . import KratosLoader

# import core library (Kratos.so)
from Kratos import *
Expand Down

0 comments on commit ffcb34a

Please sign in to comment.