mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Fix new UP031 errors from ruff 0.4.2
This commit is contained in:
@@ -138,11 +138,11 @@ def _get_library_dataset_paths(args, kwargs):
|
||||
filename = object_store.get_filename(dataset)
|
||||
files_dir = dataset.get_extra_files_path()
|
||||
if (args.exists and object_store.exists(dataset)) or not args.exists:
|
||||
output.write("%s\n" % _path(filename, args))
|
||||
output.write(f"{_path(filename, args)}\n")
|
||||
elif args.exists:
|
||||
log.warning("Missing %s", filename)
|
||||
if files_dir and os.path.exists(files_dir):
|
||||
output.write("%s\n" % _path(files_dir, args))
|
||||
output.write(f"{_path(files_dir, args)}\n")
|
||||
last_library = library
|
||||
output.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user