Set ._digest after saving in hooke.playlist.FilePlaylist.save()
authorW. Trevor King <wking@drexel.edu>
Sat, 7 Aug 2010 18:22:38 +0000 (14:22 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 7 Aug 2010 18:22:38 +0000 (14:22 -0400)
commite5ba48b30d2af3ab67601506419ea265abb2651d
treeb51a61d86f84316336e2e1d4e5c1c11e4fe739f7
parentda88f72be5034c07efd8049c35a5e6c008d6a03a
Set ._digest after saving in hooke.playlist.FilePlaylist.save()

The old implementation would complain of unsaved playlists upon
exiting if it was different from the originally loaded version, even
if you'd just saved the playlist!  We also switch to the more robust
`with` syntax:
  http://www.python.org/dev/peps/pep-0343/
hooke/playlist.py