code: def _updateToDeleted(self,directory,fn,dentry,db,service):
          
          # Create a hash of the file
          if fn not in db:
              print("%s - rm: not in DB, skipping!"%(fn))
              return
  
          services=self.sman.GetServices(fn)
          # If nobody manages this file, just skip it
          if (not services):
              print("%s - no manger of this file type found"%(fn))
              return
  
          if service:
              if db[fn]['services'].has_key(service):
                  db[fn]['services'][service]['status']=self.ST_DELETED
              else:
                  print("%s - Service %s doesn't exist, can't delete"%(fn,service))
  
              return
  
          # If we get here it means all services should delete
          for service in db[fn]['services']:
              db[fn]['services'][service]['status']=self.ST_DELETED
  
          return
docs: Changes to status to 'D' as long as a handler exists,
          directory - DIR where stuff is happening
          fn - File name to be added
          dentry - dictionary entry as returned by GetStatus for this file
          db - pusher DB for this directory
          service - service to delete, None means all