def check_blacklist(repo):
 blacklisted = [u'builder', u'cache', u'controller', u'database', u'logger', u'logspout', u'publisher', u'registry', u'router', u'store-admin', u'store-daemon', u'store-gateway', u'store-metadata', u'store-monitor']
 if any(((u'deis/{}'.format(c) in repo) for c in blacklisted)):
  raise PermissionDenied(u'Repository name {} is not allowed'.format(repo))

def check_blacklist ( repo ) : blacklisted = [ u'builder' , u'cache' , u'controller' , u'database' , u'logger' , u'logspout' , u'publisher' , u'registry' , u'router' , u'store-admin' , u'store-daemon' , u'store-gateway' , u'store-metadata' , u'store-monitor' ] if any ( ( ( u'deis/{}' . format ( c ) in repo ) for c in blacklisted ) ) : raise PermissionDenied ( u'Repository name {} is not allowed' . format ( repo ) )
check a docker repository name for collision with deis/* components .