]> git.cworth.org Git - sup/commitdiff
well, we might have duplicate source error reports, but better that than missing...
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 1 Apr 2007 20:33:47 +0000 (20:33 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sun, 1 Apr 2007 20:33:47 +0000 (20:33 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@358 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup.rb

index 9be9a9e911ffa7d09ef4ebc80e49efd01b58b09c..a4fd388b8619bac4d81c6dc3ad0c7d5752baef89 100644 (file)
@@ -116,8 +116,7 @@ EOM
 
     desynced_sources = Index.usual_sources.select { |s| s.error.is_a? OutOfSyncSourceError }
     unless desynced_sources.empty?
-      BufferManager.spawn_unless_exists "Out-of-sync soure notification" do
-        TextMode.new(<<EOM)
+      BufferManager.spawn("Out-of-sync source notification", TextMode.new(<<EOM))
 Out-of-sync source notification
 -------------------------------
 
@@ -135,7 +134,6 @@ and new messages will not be detected. Luckily, this is easy to correct!
   end}
 EOM
 #' stupid ruby-mode
-      end
     end
   end