old_contents: #!/usr/bin/python
  
  import os
  import sys
  from argparse import ArgumentParser
  from paste.deploy.loadwsgi import appconfig
  from skylines.assets import Environment
  
  # Build paths
  base_path = os.path.dirname(sys.argv[0])
  
  # Create argument parser
  parser = ArgumentParser(description='Generate concatenated and minified CSS and JS assets.')
  parser.add_argument('conf_path', nargs='?', metavar='config.ini',
                      default='/etc/skylines/production.ini',
                      help='path to the configuration INI file')
  parser.add_argument('bundles_path', nargs='?', metavar='bundles.yaml',
                      default=None,
                      help='path to the bundles YAML file')
  
  # Parse arguments
  args = parser.parse_args()
  
  # Load config from file
  conf = appconfig('config:' + os.path.abspath(args.conf_path))
  
  # Create assets environment
  env = Environment(conf)
  
  # Load the bundles from the YAML file
  if args.bundles_path is None:
      args.bundles_path = conf['webassets.bundles_file']
  
  print 'Loading bundles from {}'.format(args.bundles_path)
  env.load_bundles(args.bundles_path)
  
  # Generate the assets/bundles
  for bundle in env:
      print 'Generating bundle: {}'.format(bundle)
      bundle.build()
  
new_contents: #!/usr/bin/python
  
  import os
  import sys
  from argparse import ArgumentParser
  from paste.deploy.loadwsgi import appconfig
  from skylines.assets import Environment
  
  # Build paths
  base_path = os.path.dirname(sys.argv[0])
  
  # Create argument parser
  parser = ArgumentParser(description='Generate concatenated and minified CSS and JS assets.')
  parser.add_argument('conf_path', nargs='?', metavar='config.ini',
                      default='/etc/skylines/production.ini',
                      help='path to the configuration INI file')
  parser.add_argument('bundles_path', nargs='?', metavar='bundles.yaml',
                      default=None,
                      help='path to the bundles YAML file')
  
  # Parse arguments
  args = parser.parse_args()
  
  # Load config from file
  conf = appconfig('config:' + os.path.abspath(args.conf_path))
  
  # Create assets environment
  env = Environment(conf)
  
  # Load the bundles from the YAML file
  if args.bundles_path is None:
      args.bundles_path = conf['webassets.bundles_file']
  
  print 'Loading bundles from {}'.format(args.bundles_path)
  env.load_bundles(args.bundles_path)
  
  # Generate the assets/bundles
  for bundle in env:
      print 'Generating bundle: {}'.format(bundle.output)
      bundle.build()
  
subject: Print only the output filename