mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix new UP031 errors from ruff 0.4.2
This commit is contained in:
@@ -62,9 +62,9 @@ def quotacheck(sa_session, users, engine, object_store):
|
||||
print("none")
|
||||
else:
|
||||
if new > current:
|
||||
print("+%s" % (nice_size(new - current)))
|
||||
print(f"+{nice_size(new - current)}")
|
||||
else:
|
||||
print("-%s" % (nice_size(current - new)))
|
||||
print(f"-{nice_size(current - new)}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user