on master help sign in
Merge pull request #2405 from dalf/no-emojis

[mod] remove emojis from source code

commit35feb00a5b76ecebc0259f9ff09d6f62a9c3319a authorAlexandre Flament <alex@al-f.net> dateSun 20 Dec 2020, 09:32 (6 years ago) parent72d2bb2f4983e7
2 files changed+22−22
.github/workflows/integration.yml+21−21 searx/metrology/error_recorder.py+1−1
.github/workflows/integration.yml+21−21
@@ -11,26 +11,26 @@ jobs:
1111 os: [ubuntu-latest]
1212 python-version: [3.5, 3.6, 3.7, 3.8]
1313 steps:
14− - name: Checkout 🛎️
14+ - name: Checkout
1515 uses: actions/checkout@v2
16− - name: Install Ubuntu packages 🧰
16+ - name: Install Ubuntu packages
1717 run: |
1818 sudo ./utils/searx.sh install packages
1919 sudo apt install firefox
20− - name: Set up Python 🧰
20+ - name: Set up Python
2121 uses: actions/setup-python@v2
2222 with:
2323 python-version: ${{ matrix.python-version }}
2424 architecture: 'x64'
25− - name: Install Python dependencies 🧰
25+ - name: Install Python dependencies
2626 run: |
2727 make V=1 install
2828 make V=1 gecko.driver
29− - name: Run tests 🏗️
29+ - name: Run tests
3030 run: make V=1 test
31− - name: Test coverage 🗺️
31+ - name: Test coverage
3232 run: make V=1 test.coverage
33− - name: Store coverage result 🗺️
33+ - name: Store coverage result
3434 uses: actions/upload-artifact@v2
3535 with:
3636 name: coverage-${{ matrix.python-version }}
@@ -41,33 +41,33 @@ jobs:
4141 name: Themes
4242 runs-on: ubuntu-latest
4343 steps:
44− - name: Checkout 🛎️
44+ - name: Checkout
4545 uses: actions/checkout@v2
46− - name: Install Ubuntu packages 🧰
46+ - name: Install Ubuntu packages
4747 run: sudo ./utils/searx.sh install packages
48− - name: Install node dependencies 🧰
48+ - name: Install node dependencies
4949 run: make V=1 node.env
50− - name: Build themes 🏗️
50+ - name: Build themes
5151 run: make V=1 themes
5252
5353 documentation:
5454 name: Documentation
5555 runs-on: ubuntu-latest
5656 steps:
57− - name: Checkout 🛎️
57+ - name: Checkout
5858 uses: actions/checkout@v2
5959 with:
6060 persist-credentials: false
61− - name: Install Ubuntu packages 🧰
61+ - name: Install Ubuntu packages
6262 run: sudo ./utils/searx.sh install buildhost
63− - name: Set up Python 🧰
63+ - name: Set up Python
6464 uses: actions/setup-python@v2
6565 with:
6666 python-version: '3.9'
6767 architecture: 'x64'
68− - name: Build documentation 🏗️
68+ - name: Build documentation
6969 run: SEARX_DEBUG=1 make V=1 travis-gh-pages
70− - name: Deploy 🚀
70+ - name: Deploy
7171 if: github.ref == 'refs/heads/master'
7272 uses: JamesIves/github-pages-deploy-action@3.7.1
7373 with:
@@ -87,24 +87,24 @@ jobs:
8787 DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
8888 runs-on: ubuntu-latest
8989 steps:
90− - name: Checkout 🛎️
90+ - name: Checkout
9191 if: env.DOCKERHUB_USERNAME != null
9292 uses: actions/checkout@v2
9393 with:
9494 # make sure "make docker.push" can get the git history
9595 fetch-depth: '0'
96− - name: Set up QEMU 🧰
96+ - name: Set up QEMU
9797 if: env.DOCKERHUB_USERNAME != null
9898 uses: docker/setup-qemu-action@v1
99− - name: Set up Docker Buildx 🧰
99+ - name: Set up Docker Buildx
100100 if: env.DOCKERHUB_USERNAME != null
101101 uses: docker/setup-buildx-action@v1
102− - name: Login to DockerHub 🔒
102+ - name: Login to DockerHub
103103 if: env.DOCKERHUB_USERNAME != null
104104 uses: docker/login-action@v1
105105 with:
106106 username: ${{ secrets.DOCKERHUB_USERNAME }}
107107 password: ${{ secrets.DOCKERHUB_TOKEN }}
108− - name: Build and push 🐳
108+ - name: Build and push
109109 if: env.DOCKERHUB_USERNAME != null
110110 run: make -e GIT_URL=$(git remote get-url origin) docker.push
searx/metrology/error_recorder.py+1−1
@@ -47,7 +47,7 @@ class ErrorContext:
4747def add_error_context(engine_name: str, error_context: ErrorContext) -> None:
4848 errors_for_engine = errors_per_engines.setdefault(engine_name, {})
4949 errors_for_engine[error_context] = errors_for_engine.get(error_context, 0) + 1
50− logger.debug('⚠️ %s: %s', engine_name, str(error_context))
50+ logger.debug('%s: %s', engine_name, str(error_context))
5151
5252
5353def get_trace(traces):