File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -204,10 +204,10 @@ def build_index(self):
204204 repo_path = repo .path #os.path.join(self.repos_path, repo)
205205 if not os .path .isdir (repo_path ):
206206 continue
207- logger .debug (f"------------Checking repository: { repo_path } ---------------" )
207+ # logger.debug(f"------------Checking repository: {repo_path}---------------")
208208 # Filter for relevant directories in the repo
209209 for folder_type in ["script" , "cache" , "experiment" ]:
210- logger .debug (f"Checking folder type: { folder_type } " )
210+ # logger.debug(f"Checking folder type: {folder_type}")
211211 folder_path = os .path .join (repo_path , folder_type )
212212 if not os .path .isdir (folder_path ):
213213 continue
@@ -217,7 +217,7 @@ def build_index(self):
217217 # logger.debug(f"Checking automation directory: {automation_dir}")
218218 automation_path = os .path .join (folder_path , automation_dir )
219219 if not os .path .isdir (automation_path ):
220- logger .debug (f"Skipping non-directory automation path: { automation_path } " )
220+ # logger.debug(f"Skipping non-directory automation path: {automation_path}")
221221 continue
222222
223223 yaml_path = os .path .join (automation_path , "meta.yaml" )
Original file line number Diff line number Diff line change @@ -177,10 +177,10 @@ def build_parser(pre_args):
177177def configure_logging (args ):
178178 if hasattr (args , 'extra' ) and args .extra :
179179 args .extra [:] = [log_flag_aliases .get (a , a ) for a in args .extra ]
180+
180181 for flag , level in log_levels .items ():
181182 if flag in args .extra :
182- if not logger .isEnabledFor (level ):
183- logger .setLevel (level )
183+ logger .setLevel (level )
184184 args .extra .remove (flag )
185185
186186
You can’t perform that action at this time.
0 commit comments