def get_extras_path(file_path):
 if (extras_dir is None):
  return file_path
 return os.path.join(extras_dir, file_path)

def get_extras_path ( file_path ) : if ( extras_dir is None ) : return file_path return os . path . join ( extras_dir , file_path )
return a full path to file_path in the extras directory .