File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def cpp_lib(override=None):
22
22
return importlib .import_module ("pybindlibs.cpp" )
23
23
try :
24
24
return importlib .import_module ("pybindlibs.cpp_dbg" )
25
- except ImportError as err :
25
+ except ImportError :
26
26
return importlib .import_module ("pybindlibs.cpp" )
27
27
28
28
@@ -41,11 +41,12 @@ def env_vars():
41
41
42
42
43
43
def print_env_vars_info ():
44
- for k , v in cpp_etc_lib ().phare_env_vars ().items ():
45
- print (f"{ k } : { v .desc } " )
44
+ # see: src/core/env.hpp
45
+ for env_var_name , env_var in cpp_etc_lib ().phare_env_vars ().items ():
46
+ print (f"{ env_var_name } : { env_var .desc } " )
46
47
print ("Options:" )
47
- for k , v in v .options :
48
- print (f" { k } : { v } " )
48
+ for option_key , option_val in env_var .options :
49
+ print (f" { option_key } : { option_val } " )
49
50
print ("" )
50
51
51
52
Original file line number Diff line number Diff line change @@ -69,7 +69,10 @@ class HighFiveFile
69
69
70
70
~HighFiveFile () {}
71
71
72
- NO_DISCARD HiFile& file () { return h5file_; }
72
+ NO_DISCARD HiFile& file ()
73
+ {
74
+ return h5file_;
75
+ }
73
76
74
77
75
78
template <typename T, std::size_t dim = 1 >
You can’t perform that action at this time.
0 commit comments