* [sup-talk] [PATCH] added default maildir mtimes for earlier sources.yaml files
@ 2008-05-26 13:07 Grant Hollingworth
2008-05-30 16:28 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Grant Hollingworth @ 2008-05-26 13:07 UTC (permalink / raw)
Fixes a bug introduced by 2e06f1eb. The YAML loading was explicitly passing
nil, overriding the {} default in initialize.
---
lib/sup/maildir.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/sup/maildir.rb b/lib/sup/maildir.rb
index 0a86cb6..74a3e02 100644
--- a/lib/sup/maildir.rb
+++ b/lib/sup/maildir.rb
@@ -30,7 +30,7 @@ class Maildir < Source
#the mtime from the subdirs in the maildir with the unix epoch as default.
#these are used to determine whether scanning the directory for new mail
#is a worthwhile effort
- @mtimes = { 'cur' => Time.at(0), 'new' => Time.at(0) }.merge(mtimes)
+ @mtimes = { 'cur' => Time.at(0), 'new' => Time.at(0) }.merge(mtimes || {})
@dir_ids = { 'cur' => [], 'new' => [] }
end
--
1.5.5.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [sup-talk] [PATCH] added default maildir mtimes for earlier sources.yaml files
2008-05-26 13:07 [sup-talk] [PATCH] added default maildir mtimes for earlier sources.yaml files Grant Hollingworth
@ 2008-05-30 16:28 ` William Morgan
0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2008-05-30 16:28 UTC (permalink / raw)
Applied and remerged. Thanks!
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-30 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-26 13:07 [sup-talk] [PATCH] added default maildir mtimes for earlier sources.yaml files Grant Hollingworth
2008-05-30 16:28 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox