Skip to content

Commit

Permalink
use shebang / python3
Browse files Browse the repository at this point in the history
  • Loading branch information
abma committed Apr 8, 2017
1 parent e88f96b commit 3927bee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion SQLUsers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from datetime import datetime, timedelta
Expand Down
2 changes: 1 addition & 1 deletion ip2country.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 3927bee

Please sign in to comment.