1#!/usr/bin/env python 2# Copyright (c) 2012 The Chromium Authors. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6 7'''Common functions for plist_writer and plist_strings_writer. 8''' 9 10 11def GetPlistFriendlyName(name): 12 '''Transforms a string so that it will be suitable for use as 13 a pfm_name in the plist manifest file. 14 ''' 15 return name.replace(' ', '_') 16