@@ -183,7 +183,7 @@ def generate(self, recipe):
183183
184184 # Clone the spack repository if it has not already been checked out
185185 if not (spack_path / ".git" ).is_dir ():
186- self ._logger .info (f' spack: clone repository { spack [" repo" ] } ' )
186+ self ._logger .info (f" spack: clone repository { spack [' repo' ] } " )
187187
188188 # clone the repository
189189 capture = subprocess .run (
@@ -195,12 +195,12 @@ def generate(self, recipe):
195195 self ._logger .debug (capture .stdout .decode ("utf-8" ))
196196
197197 if capture .returncode != 0 :
198- self ._logger .error (f' error cloning the repository { spack [" repo" ] } ' )
198+ self ._logger .error (f" error cloning the repository { spack [' repo' ] } " )
199199 capture .check_returncode ()
200200
201201 # Fetch the specific branch
202202 if spack ["commit" ]:
203- self ._logger .info (f' spack: fetch branch/commit { spack [" commit" ] } ' )
203+ self ._logger .info (f" spack: fetch branch/commit { spack [' commit' ] } " )
204204 capture = subprocess .run (
205205 ["git" , "-C" , spack_path , "fetch" , "origin" , spack ["commit" ]],
206206 shell = False ,
@@ -210,12 +210,12 @@ def generate(self, recipe):
210210 self ._logger .debug (capture .stdout .decode ("utf-8" ))
211211
212212 if capture .returncode != 0 :
213- self ._logger .debug (f' unable to change to the fetch { spack [" commit" ] } ' )
213+ self ._logger .debug (f" unable to change to the fetch { spack [' commit' ] } " )
214214 capture .check_returncode ()
215215
216216 # Check out a branch or commit if one was specified
217217 if spack ["commit" ]:
218- self ._logger .info (f' spack: checkout branch/commit { spack [" commit" ] } ' )
218+ self ._logger .info (f" spack: checkout branch/commit { spack [' commit' ] } " )
219219 capture = subprocess .run (
220220 ["git" , "-C" , spack_path , "checkout" , spack ["commit" ]],
221221 shell = False ,
@@ -225,7 +225,7 @@ def generate(self, recipe):
225225 self ._logger .debug (capture .stdout .decode ("utf-8" ))
226226
227227 if capture .returncode != 0 :
228- self ._logger .debug (f' unable to change to the requested commit { spack [" commit" ] } ' )
228+ self ._logger .debug (f" unable to change to the requested commit { spack [' commit' ] } " )
229229 capture .check_returncode ()
230230
231231 # get the spack commit
0 commit comments