summaryrefslogtreecommitdiff
path: root/lib/feed2imap/config.rb
diff options
context:
space:
mode:
authorlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-06-18 08:59:16 +0000
committerlnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972>2006-06-18 08:59:16 +0000
commit8ed0ec9fd97511e847315d44cf0070ced31a9557 (patch)
tree96fea79a9dab1f477bc28e6e86799cea516cd86b /lib/feed2imap/config.rb
parent3aba0ce3e74718a8d89d03f69f061158139ad9fa (diff)
downloadfeed2imap-8ed0ec9fd97511e847315d44cf0070ced31a9557.tar.gz
feed2imap-8ed0ec9fd97511e847315d44cf0070ced31a9557.tar.bz2
feed2imap-8ed0ec9fd97511e847315d44cf0070ced31a9557.zip
pre-release cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@97 f70e237a-67f3-0310-a06c-d2b8a7116972
Diffstat (limited to 'lib/feed2imap/config.rb')
-rw-r--r--lib/feed2imap/config.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb
index 1e13a04..38a1faa 100644
--- a/lib/feed2imap/config.rb
+++ b/lib/feed2imap/config.rb
@@ -26,7 +26,7 @@ DEFCACHE = ENV['HOME'] + '/.feed2imap.cache'
# Feed2imap configuration
class F2IConfig
- attr_reader :imap_accounts, :cache, :feeds, :dumpdir
+ attr_reader :imap_accounts, :cache, :feeds, :dumpdir, :updateddebug
# Load the configuration from the IO stream
# TODO should do some sanity check on the data read.
@@ -36,6 +36,7 @@ class F2IConfig
@dumpdir = @conf['dumpdir'] || nil
@conf['feeds'] ||= []
@feeds = []
+ @updateddebug = (@conf['debug-updated'] and @conf['debug-updated'] != 'false')
@imap_accounts = ImapAccounts::new
@conf['feeds'].each do |f|
if f['disable'].nil?