From c49df45367e5df8a6691382c1151bc06a3527135 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Tue, 7 Aug 2012 19:55:17 +0000 Subject: [PATCH] Add a note to PLUGINS about making sure plugin storage gets saved. --- NEWS | 2 ++ PLUGINS | 3 +++ 2 files changed, 5 insertions(+) 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 -- 2.35.1