Don't filter any Python warnings

This commit is contained in:
Howard Wu 2023-03-24 22:53:48 +08:00
parent 112e688d78
commit 58e17da60a
2 changed files with 1 additions and 6 deletions

View file

@ -20,14 +20,11 @@
import sys import sys
import warnings
import zipfile import zipfile
from pathlib import Path from pathlib import Path
import re import re
import shutil import shutil
warnings.filterwarnings("ignore")
arch = sys.argv[1] arch = sys.argv[1]
zip_name = "" zip_name = ""

View file

@ -22,7 +22,7 @@ import html
import os import os
import re import re
import sys import sys
import warnings
from pathlib import Path from pathlib import Path
from threading import Thread from threading import Thread
from typing import OrderedDict from typing import OrderedDict
@ -44,8 +44,6 @@ class Prop(OrderedDict):
def get(self, key: str) -> str: def get(self, key: str) -> str:
return self[key] return self[key]
warnings.filterwarnings("ignore")
arch = sys.argv[1] arch = sys.argv[1]
release_name_map = {"retail": "Retail", "RP": "Release Preview", release_name_map = {"retail": "Retail", "RP": "Release Preview",