Minor wording fixes
authorLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Thu, 22 Dec 2011 12:06:00 +0000 (14:06 +0200)
committerLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Thu, 22 Dec 2011 12:06:00 +0000 (14:06 +0200)
flowspec/models.py
flowspec/tasks.py

index 0caba49..4af362a 100644 (file)
@@ -153,7 +153,7 @@ class Route(models.Model):
             reason = kwargs['reason']
             reason_text = "Reason: %s. " %reason
         peer = self.applier.get_profile().peer.domain_name
-        send_message("[%s] Removing route %s. %sPlease wait..." %(self.applier.username, self.name, reason_text), peer)
+        send_message("[%s] Suspending rule %s. %sPlease wait..." %(self.applier.username, self.name, reason_text), peer)
         response = delete.delay(self, reason=reason)
         logger.info("Got delete job id: %s" %response)
 
index d793402..27ade78 100644 (file)
@@ -67,7 +67,7 @@ def delete(route, **kwargs):
     route.status = status
     route.response = response
     route.save()
-    subtask(announce).delay("[%s] Rule removal: %s%s- Result %s" %(route.applier, route.name, reason_text, response), route.applier)
+    subtask(announce).delay("[%s] Suspending rule : %s%s- Result %s" %(route.applier, route.name, reason_text, response), route.applier)
 
 # May not work in the first place... proxy is not aware of Route models
 @task