Skip to content

Commit 456665b

Browse files
Remove noisy ICUWARNING #2990
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent fb290d1 commit 456665b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/summarycode/summarizer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
TRACE = False
3030
TRACE_LIGHT = False
3131

32+
warnings.simplefilter('ignore', UnicodeWarning)
3233

3334
def logger_debug(*args):
3435
pass
@@ -162,8 +163,6 @@ def get_declared_holders(codebase, holders_tallies):
162163
A declared holder is a copyright holder present in the key files who has the
163164
highest amount of refrences throughout the codebase.
164165
"""
165-
warnings.simplefilter('ignore', UnicodeWarning)
166-
167166
entry_by_holders = {
168167
fingerprints.generate(entry['value']): entry for entry in holders_tallies if entry['value']
169168
}

0 commit comments

Comments
 (0)