diff --git a/ogscm/building_blocks/osu_benchmarks.py b/ogscm/building_blocks/osu_benchmarks.py index f224160052f06fba6dfa26811303955d4a4ab659..5dbb4cc54a2861c3944134a64ce2062c15830040 100644 --- a/ogscm/building_blocks/osu_benchmarks.py +++ b/ogscm/building_blocks/osu_benchmarks.py @@ -103,10 +103,10 @@ class osu_benchmarks( # Environment libexec_path = "{0}/libexec/osu-micro-benchmarks/mpi".format(self.prefix) - self.__environment_variables[ - "PATH" - ] = "{0}/collective:{0}/one-sided:{0}/pt2pt:{0}/startup::$PATH".format( - libexec_path + self.__environment_variables["PATH"] = ( + "{0}/collective:{0}/one-sided:{0}/pt2pt:{0}/startup::$PATH".format( + libexec_path + ) ) # Labels diff --git a/ogscm/building_blocks/paraview.py b/ogscm/building_blocks/paraview.py index e197798485ad23ed7b4a257ebf358f6afa9d2022..44f8772cbab073b1a4f0085d5828868b6e7c2855 100644 --- a/ogscm/building_blocks/paraview.py +++ b/ogscm/building_blocks/paraview.py @@ -126,9 +126,9 @@ class paraview( if self.ldconfig: self += shell(commands=[self.ldcache_step(directory=libpath)]) else: - self.__environment_variables[ - "LD_LIBRARY_PATH" - ] = "{}:$LD_LIBRARY_PATH".format(libpath) + self.__environment_variables["LD_LIBRARY_PATH"] = ( + "{}:$LD_LIBRARY_PATH".format(libpath) + ) self += environment(variables=self.__environment_variables)