<reponame>wblixin6017/fuchsia-build<gh_stars>0
#!/usr/bin/env python
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import argparse
import sys


def main():
  parser = argparse.ArgumentParser(
      description='Replaces dots with slashes')
  parser.add_argument('--name',
                      help='Name to convert',
                      required=True)
  args = parser.parse_args()
  print('%s' % args.name.replace('.', '/'))


if __name__ == '__main__':
  sys.exit(main())

#!/usr/bin/env python
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import argparse
import sys


def main():
  parser = argparse.ArgumentParser(
      description='Replaces dots with slashes')
  parser.add_argument('--name',
                      help='Name to convert',
                      required=True)
  args = parser.parse_args()
  print('%s' % args.name.replace('.', '/'))


if __name__ == '__main__':
  sys.exit(main())
#!/usr/bin/env python # Copyright 2018 The Fuchsia Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file.