Browse Source

Merge branch 'master' of github.com:ask/celery

Ask Solem 15 years ago
parent
commit
69ed70b2b6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/userguide/routing.rst

+ 1 - 0
docs/userguide/routing.rst

@@ -481,6 +481,7 @@ All you need to define a new router is to create a class with a
                 return {"exchange": "video",
                         "exchange_type": "topic",
                         "routing_key": "video.compress"}
+            return None
 
 If you return the ``queue`` key, it will expand with the defined settings of
 that queue in ``CELERY_QUEUES``::