Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorChris Ball <cjb@pullcord.laptop.org>2007-12-12 03:49:34 (GMT)
committer Chris Ball <cjb@pullcord.laptop.org>2007-12-12 03:49:34 (GMT)
commit4313748c016e8a9fe815a1c8a6460237ead0f8fe (patch)
tree561785a72e978c0e13f4879d85914f891b86caa9 /library
parent0efe329cf54906af796b016f89c805bef6f2b6c9 (diff)
Disable the suspend call in pause() for now.
Diffstat (limited to 'library')
-rw-r--r--library/pippy/game.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/pippy/game.py b/library/pippy/game.py
index c3f6f65..73bc5ca 100644
--- a/library/pippy/game.py
+++ b/library/pippy/game.py
@@ -32,10 +32,10 @@ def pause():
pygame.display.flip()
# SUSPEND
- try:
- open('/sys/power/state','w').write('mem')
- except: # XXX: couldn't suspend (no permissions?)
- pygame.event.post(pygame.event.wait())
+ # try:
+ # open('/sys/power/state','w').write('mem')
+ # except: # XXX: couldn't suspend (no permissions?)
+ # pygame.event.post(pygame.event.wait())
pygame.display.set_caption(caption, icon_caption)
screen.blit(old_screen, (0,0))