@task
@timed
def check_memcache():
 if (not is_memcache_running()):
  msg = colorize('red', 'Memcache is not running locally.')
  print msg
  sys.exit(1)

@ task @ timed def check_memcache ( ) : if ( not is_memcache_running ( ) ) : msg = colorize ( 'red' , 'Memcache is not running locally.' ) print msg sys . exit ( 1 )
check that memcache is running .