Explorar o código

Merge pull request #1831 from eyvoro/patch-1

Fixed basic.publish command in celery amqp program
Ask Solem Hoel %!s(int64=11) %!d(string=hai) anos
pai
achega
59e44ae630
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/bin/amqp.py

+ 1 - 1
celery/bin/amqp.py

@@ -175,7 +175,7 @@ class AMQShell(cmd.Cmd):
         'basic.get': Spec(('queue', str),
                           ('no_ack', bool, 'off'),
                           returns=dump_message),
-        'basic.publish': Spec(('msg', Message),
+        'basic.publish': Spec(('msg', str),
                               ('exchange', str),
                               ('routing_key', str),
                               ('mandatory', bool, 'no'),