diff options
Diffstat (limited to 'chromium/components/policy/tools/template_writers/writers/plist_helper.py')
-rwxr-xr-x | chromium/components/policy/tools/template_writers/writers/plist_helper.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/components/policy/tools/template_writers/writers/plist_helper.py b/chromium/components/policy/tools/template_writers/writers/plist_helper.py new file mode 100755 index 00000000000..e69f00dcb68 --- /dev/null +++ b/chromium/components/policy/tools/template_writers/writers/plist_helper.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# 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(' ', '_') |