From: Adam Sampson Date: Tue, 7 Aug 2012 19:55:17 +0000 (+0000) Subject: Add a note to PLUGINS about making sure plugin storage gets saved. X-Git-Tag: v2.14~2 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=c49df45367e5df8a6691382c1151bc06a3527135;p=rawdog%2F.git Add a note to PLUGINS about making sure plugin storage gets saved. --- diff --git a/NEWS b/NEWS index aad4705..126628e 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ more informed choice rather than just taking the first one: many blogs provide both content and comments feeds, and we usually want the first one. +Add a note to PLUGINS about making sure plugin storage gets saved. + - rawdog 2.13 Forcibly disable BeautifulSoup support in feedparser, since it returns diff --git a/PLUGINS b/PLUGINS index 033923b..65f18ed 100644 --- a/PLUGINS +++ b/PLUGINS @@ -50,6 +50,9 @@ start with; you may store any pickleable objects you like in it. Plugin identifiers should be strings based on your email address, in order to be globally unique -- for example, `org.offog.ats.archive`. +After changing a plugin storage dictionary, you must call "rawdog.modified()" +to ensure that rawdog will write out its state file. + ## Hooks Most hook functions are called with "rawdog" and "config" as their first