mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
caches: Suppress unnecessary output when cleaning caches.
This should make the cache cleaning process a lot less spammy.
This commit is contained in:
@@ -12,7 +12,6 @@ def main():
|
||||
# type: () -> None
|
||||
parse_cache_script_args("This script cleans unused zulip caches.")
|
||||
os.chdir(ZULIP_PATH)
|
||||
print("Starting cache cleaning scripts...")
|
||||
subprocess.check_call(["./scripts/lib/clean-venv-cache"] + sys.argv[1:])
|
||||
subprocess.check_call(["./scripts/lib/clean-npm-cache"] + sys.argv[1:])
|
||||
subprocess.check_call(["./scripts/lib/clean-emoji-cache"] + sys.argv[1:])
|
||||
|
||||
@@ -242,7 +242,8 @@ def purge_unused_caches(caches_dir, caches_in_use, cache_type, args):
|
||||
|
||||
may_be_perform_purging(
|
||||
caches_to_purge, caches_to_keep, cache_type, args.dry_run, args.verbose)
|
||||
print("Done!\n")
|
||||
if args.verbose:
|
||||
print("Done!")
|
||||
|
||||
def generate_sha1sum_emoji(zulip_path):
|
||||
# type: (Text) -> Text
|
||||
|
||||
Reference in New Issue
Block a user