forked from Botanical/BotanJS
29 lines
390 B
Python
29 lines
390 B
Python
#!/usr/bin/env python3
|
|
|
|
class log:
|
|
def info( self, *args ):
|
|
print( *args )
|
|
|
|
class dummyTask( object ):
|
|
|
|
Func = None
|
|
|
|
def delay( self, *args ):
|
|
self.Func( *args )
|
|
|
|
def __init__( self, *args ):
|
|
self.Func = args[0]
|
|
|
|
def __call__( self, *args ):
|
|
pass
|
|
|
|
class dummyConf:
|
|
def update( self, BROKER_URL = None ):
|
|
pass
|
|
|
|
class app:
|
|
conf = dummyConf()
|
|
|
|
def task():
|
|
return dummyTask
|