chromium/components/policy/tools/template_writers/writers/plist_helper.py

#!/usr/bin/env python3
# Copyright 2012 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
'''Common functions for plist_writer and plist_strings_writer.
'''


def GetPlistFriendlyName(name):
  '''Transforms a string so that it will be suitable for use as
  a pfm_name in the plist manifest file.
  '''
  return name.replace(' ', '_')