Skip to content

Commit a8d365c

Browse files
committed
Fixes 'celery inspect conf' and objgraph commands
1 parent 1e3cb75 commit a8d365c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

celery/bin/celery.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def usage(self, command):
296296
command, self.args)
297297

298298
def call(self, *args, **kwargs):
299-
raise NotImplementedError('get_obj')
299+
raise NotImplementedError('call')
300300

301301
def run(self, *args, **kwargs):
302302
if not args:
@@ -366,10 +366,10 @@ def call(self, method, *args, **options):
366366
return getattr(i, method)(*args)
367367

368368
def objgraph(self, type_='Request', *args, **kwargs):
369-
return self.call('objgraph', type_)
369+
return self.call('objgraph', type_, **kwargs)
370370

371371
def conf(self, with_defaults=False, *args, **kwargs):
372-
return self.call('conf', with_defaults=with_defaults)
372+
return self.call('conf', with_defaults, **kwargs)
373373

374374

375375
class control(_RemoteControl):

0 commit comments

Comments
 (0)