]> git.cworth.org Git - sup/blobdiff - lib/sup/source.rb
Merge branch 'various-api-refactors'
[sup] / lib / sup / source.rb
index a557bd857c815232b07601f98d713fa9ae26ff2c..78386ff3fd19b0f74c75820827346df036f84c61 100644 (file)
@@ -139,7 +139,7 @@ class Source
       header[k] = begin
         Rfc2047.decode_to $encoding, v
       rescue Errno::EINVAL, Iconv::InvalidEncoding, Iconv::IllegalSequence => e
-        #Redwood::log "warning: error decoding RFC 2047 header (#{e.class.name}): #{e.message}"
+        #debug "warning: error decoding RFC 2047 header (#{e.class.name}): #{e.message}"
         v
       end
     end
@@ -183,7 +183,6 @@ class SourceManager
     @sources = {}
     @sources_dirty = false
     @source_mutex = Monitor.new
-    self.class.i_am_the_instance self
   end
 
   def [](id)