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)
commit8956684d7f991613fd22de562b129ffe11e35351
treeb51a61d86f84316336e2e1d4e5c1c11e4fe739f7
parentf62e16fe46b8f19137120a10332a64569ba3a3ad
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