Commit ef89e556 authored by emmapeel's avatar emmapeel 🤖
Browse files

Revert "give a warning to see if the tests show the problem without failing"

because it looks bad and is not picked up by the CI.

This reverts commit 7e5ef86d.
parent 7e5ef86d
Pipeline #14825 passed with stages
in 1 minute and 49 seconds
......@@ -20,7 +20,6 @@ Where branchname is the name of the translation branch and transifex component
import sys
import os
import requests
import warnings
import polib
......@@ -61,12 +60,12 @@ def compare_pos(oldpo, newpo):
newstrings, stalestrings = [], []
for entry in newpo:
if entry not in oldpo:
warnings.warn(F'new string: {entry.msgid}', UserWarning)
print(F'new string: {entry.msgid}')
for entry in oldpo:
if entry not in newpo:
warnings.warn(F'stale string: {entry.msgid}', UserWarning)
print(F'ERROR - stale string: {entry.msgid}')
return newstrings, stalestrings
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment