From 3927bee5d7d0731ddab422e47bea675a5869b0a9 Mon Sep 17 00:00:00 2001 From: abma Date: Sat, 8 Apr 2017 19:25:55 +0200 Subject: [PATCH] use shebang / python3 --- .travis.yml | 10 +++++----- SQLUsers.py | 2 +- ip2country.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index c8d75d90..e1317e9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,11 +16,11 @@ install: - pip3 install pycrypto SQLAlchemy twisted pyOpenSSL GeoIP mysqlclient script: - - python3 protocol/Protocol.py - - python3 ip2country.py - - python3 ./SQLUsers.py - - python3 ./server.py & + - protocol/Protocol.py + - ip2country.py + - SQLUsers.py + - ./server.py & - sleep 30 # wait for server to start up - - python3 tests/TestLobbyClient.py + - tests/TestLobbyClient.py - sleep 10 # give server some time to write log, etc - killall python diff --git a/SQLUsers.py b/SQLUsers.py index 23ced755..bca8ca62 100755 --- a/SQLUsers.py +++ b/SQLUsers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- from datetime import datetime, timedelta diff --git a/ip2country.py b/ip2country.py index 644d0457..0246ab20 100755 --- a/ip2country.py +++ b/ip2country.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # coding=utf-8 # This file is part of the uberserver (GPL v2 or later), see LICENSE