Ignore:
Timestamp:
09/10/19 14:30:20 (2 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Message:

Some flake8 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/sound.py

    r665 r689  
    11"""Sound utilities."""
     2
     3from __future__ import print_function
    24
    35from pygame import mixer
     
    8486                pyg_sound.init()
    8587                self._sound = pyg_sound
    86             except Exception, err:
    87                 print "Failed to enable sound: %r" % (err,)
     88            except Exception as err:
     89                print("Failed to enable sound: %r" % (err,))
    8890
    8991    def __getattr__(self, name):
Note: See TracChangeset for help on using the changeset viewer.