mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Use python2 instead of python in arc anoid
shebang`
Summary: With the old shebang of `#!/usr/bin/env python` on machines with python 3 as the default python it would fail. Prefer an explicit python2 like PEP 394 suggests. Test Plan: ran ./arc anoid and played a game Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15408
This commit is contained in:
parent
3876d93583
commit
604ceb4fe5
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python2
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import select
|
import select
|
||||||
import curses
|
import curses
|
||||||
import curses.wrapper
|
from curses import wrapper
|
||||||
|
|
||||||
entities = []
|
entities = []
|
||||||
grid = []
|
grid = []
|
||||||
|
@ -217,4 +217,4 @@ try:
|
||||||
print ('You destroyed %s blocks out of %s with %s deaths.' %
|
print ('You destroyed %s blocks out of %s with %s deaths.' %
|
||||||
(Block.killed, Block.total, Ball.killed))
|
(Block.killed, Block.total, Ball.killed))
|
||||||
except PowerOverwhelmingException as e:
|
except PowerOverwhelmingException as e:
|
||||||
print e
|
print (e)
|
||||||
|
|
Loading…
Reference in a new issue