Commits

Arne Babenhauserheide  committed 9eb556a

more comments

  • Participants
  • Parent commits 056d601

Comments (0)

Files changed (1)

File code_swarm.py

 	    x, y = self.get_starting_position()
 	    author = Author(scene=self, name=author_name, x=x, y=y)#, batch=self.author_batch)
 	    self.blobs[author_name] = author
-	
+
+        # for maildirs we also add all recipients as names (filepath)
 	if self.swarm_type == "maildir": 
             if not filepath in self.blobs: 
 		x, y = self.get_starting_position()
 		author = Author(scene=self, name=filepath, x=x, y=y)#, batch=self.author_batch)
 		self.blobs[filepath] = author
+        # otherwise we add the files as blobs
 	else: 
 	    if not filepath in self.blobs: 
 		x, y = self.get_starting_position()