def make_path_cmdlog(r):
 path = ((AUTOTEST_CACHE_DIR + '/recipes/') + r)
 if (not os.path.exists(path)):
  os.makedirs(path)
 if (not os.path.isdir(path)):
  raise BkrProxyException(('Path(%s) exists and is not a directory' % path))
 return (path + '/cmd_log')

def make_path_cmdlog ( r ) : path = ( ( AUTOTEST_CACHE_DIR + '/recipes/' ) + r ) if ( not os . path . exists ( path ) ) : os . makedirs ( path ) if ( not os . path . isdir ( path ) ) : raise BkrProxyException ( ( 'Path(%s) exists and is not a directory' % path ) ) return ( path + '/cmd_log' )
converts a recipe id into an internal path for logging purposes .