Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14767767
D15408.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
511 B
Referenced Files
None
Subscribers
None
D15408.diff
View Options
diff --git a/scripts/breakout.py b/scripts/breakout.py
--- a/scripts/breakout.py
+++ b/scripts/breakout.py
@@ -1,9 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
import sys
import time
import select
import curses
-import curses.wrapper
+from curses import wrapper
entities = []
grid = []
@@ -217,4 +217,4 @@
print ('You destroyed %s blocks out of %s with %s deaths.' %
(Block.killed, Block.total, Ball.killed))
except PowerOverwhelmingException as e:
- print e
+ print (e)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 6:15 PM (8 h, 22 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7042394
Default Alt Text
D15408.diff (511 B)
Attached To
Mode
D15408: Use python2 instead of python in `arc anoid` shebang`
Attached
Detach File
Event Timeline
Log In to Comment