From 8ac401aef86b14f132cf6ecac6fdeabbff512762 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Fri, 22 Nov 2019 20:19:19 +0100 Subject: [PATCH] Fix various codacy issues --- .travis/package.sh | 3 --- tools/font-add-border.py | 1 - 2 files changed, 4 deletions(-) diff --git a/.travis/package.sh b/.travis/package.sh index f84308c5e09..b2d2a78ac2b 100755 --- a/.travis/package.sh +++ b/.travis/package.sh @@ -14,8 +14,6 @@ if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PACKAGE" = "ON" ]; then mv ~/out/* . fi -declare -A urls - mkdir s3-upload mv SuperTux* s3-upload/ @@ -23,7 +21,6 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then for file in s3-upload/SuperTux*; do echo "Uploading $file"; url=$(curl --upload-file "$file" "https://transfer.sh/$file") - urls[$file]=$url echo $url done fi diff --git a/tools/font-add-border.py b/tools/font-add-border.py index 6f1c288fd6a..1c60ead3cbc 100755 --- a/tools/font-add-border.py +++ b/tools/font-add-border.py @@ -16,7 +16,6 @@ # along with this program. If not, see . from PIL import Image -import os import argparse import tempfile