From 80df303c9df26a0b2e57fccb65f61b2fb85f578e Mon Sep 17 00:00:00 2001 From: David Sowder Date: Tue, 21 Feb 2012 17:42:50 -0600 Subject: [PATCH] pep8 compliance: E302 expected 2 blank lines --- albow/shell.py | 1 + albow/sound.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/albow/shell.py b/albow/shell.py index a2c3319..0b2d1ca 100644 --- a/albow/shell.py +++ b/albow/shell.py @@ -6,6 +6,7 @@ from root import RootWidget #------------------------------------------------------------------------------ + class Shell(RootWidget): def __init__(self, surface, **kwds): diff --git a/albow/sound.py b/albow/sound.py index 3c81d90..b0f9710 100644 --- a/albow/sound.py +++ b/albow/sound.py @@ -5,18 +5,21 @@ import pygame from pygame import mixer + def pause_sound(): try: mixer.pause() except pygame.error: pass + def resume_sound(): try: mixer.unpause() except pygame.error: pass + def stop_sound(): try: mixer.stop()