Kaynağa Gözat

Merge pull request #16027 from ChillarAnand/gzip

fix: Removed verbose flag for gzip
version-14
gavin 3 yıl önce
committed by GitHub
ebeveyn
işleme
c20a0ba53e
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. +1
    -2
      frappe/installer.py

+ 1
- 2
frappe/installer.py Dosyayı Görüntüle

@@ -529,10 +529,9 @@ def extract_sql_gzip(sql_gz_path):
import subprocess

try:
# dvf - decompress, verbose, force
original_file = sql_gz_path
decompressed_file = original_file.rstrip(".gz")
cmd = 'gzip -dvf < {0} > {1}'.format(original_file, decompressed_file)
cmd = 'gzip --decompress --force < {0} > {1}'.format(original_file, decompressed_file)
subprocess.check_call(cmd, shell=True)
except Exception:
raise


Yükleniyor…
İptal
Kaydet