
import sys

import config_util  # pylint: disable=import-error


# This class doesn't need an __init__ method, so we disable the warning
# pylint: disable=no-init
class Syzygy(config_util.Config):
  """Basic Config class for Syzygy."""

  @staticmethod
  def fetch_spec(_props):
    return {
      'type': 'gclient_git',
      'gclient_git_spec': {
        'solutions': [
          {
            'name'     : 'src',
            'url'      : 'https://github.com/google/syzygy.git',
            'deps_file': 'DEPS',
            'managed'  : False,
          }
        ],
      },
    }

  @staticmethod
  def expected_root(_props):
    return 'src'


def main(argv=None):
  return Syzygy().handle_args(argv)


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


import sys

import config_util  # pylint: disable=import-error


# This class doesn't need an __init__ method, so we disable the warning
# pylint: disable=no-init
class Syzygy(config_util.Config):
  """Basic Config class for Syzygy."""

  @staticmethod
  def fetch_spec(_props):
    return {
      'type': 'gclient_git',
      'gclient_git_spec': {
        'solutions': [
          {
            'name'     : 'src',
            'url'      : 'https://chromium.googlesource.com/syzygy',
            'deps_file': 'DEPS',
            'managed'  : False,
          }
        ],
      },
    }

  @staticmethod
  def expected_root(_props):
    return 'src'


def main(argv=None):
  return Syzygy().handle_args(argv)


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

Update fetch config with new Syzygy location.
Update fetch config with new Syzygy location.

Change-Id: Iacc2efd6974f1a161da6e33a0d25d6329fcaaf4f
Reviewed-on: https://chromium-review.googlesource.com/692697
Commit-Queue: Sébastien Marchand <b98658856fe44d267ccfa37efbb15fc831b08ae9@chromium.org>
Reviewed-by: Aaron Gable <bbed39beedae4cdb499af742d2fcd6c63934d93b@chromium.org>
Reviewed-by: Sébastien Marchand <b98658856fe44d267ccfa37efbb15fc831b08ae9@chromium.org>

  
  import sys
  
  import config_util  # pylint: disable=import-error
  
  
  # This class doesn't need an __init__ method, so we disable the warning
  # pylint: disable=no-init
  class Syzygy(config_util.Config):
    """Basic Config class for Syzygy."""
  
    @staticmethod
    def fetch_spec(_props):
      return {
        'type': 'gclient_git',
        'gclient_git_spec': {
          'solutions': [
            {
              'name'     : 'src',
-             'url'      : 'https://github.com/google/syzygy.git',
+             'url'      : 'https://chromium.googlesource.com/syzygy',
              'deps_file': 'DEPS',
              'managed'  : False,
            }
          ],
        },
      }
  
    @staticmethod
    def expected_root(_props):
      return 'src'
  
  
  def main(argv=None):
    return Syzygy().handle_args(argv)
  
  
  if __name__ == '__main__':
    sys.exit(main(sys.argv))
  
Update fetch config with new Syzygy location.
## Code Before:

import sys

import config_util  # pylint: disable=import-error


# This class doesn't need an __init__ method, so we disable the warning
# pylint: disable=no-init
class Syzygy(config_util.Config):
  """Basic Config class for Syzygy."""

  @staticmethod
  def fetch_spec(_props):
    return {
      'type': 'gclient_git',
      'gclient_git_spec': {
        'solutions': [
          {
            'name'     : 'src',
            'url'      : 'https://github.com/google/syzygy.git',
            'deps_file': 'DEPS',
            'managed'  : False,
          }
        ],
      },
    }

  @staticmethod
  def expected_root(_props):
    return 'src'


def main(argv=None):
  return Syzygy().handle_args(argv)


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

## Instruction:
Update fetch config with new Syzygy location.
## Code After:

import sys

import config_util  # pylint: disable=import-error


# This class doesn't need an __init__ method, so we disable the warning
# pylint: disable=no-init
class Syzygy(config_util.Config):
  """Basic Config class for Syzygy."""

  @staticmethod
  def fetch_spec(_props):
    return {
      'type': 'gclient_git',
      'gclient_git_spec': {
        'solutions': [
          {
            'name'     : 'src',
            'url'      : 'https://chromium.googlesource.com/syzygy',
            'deps_file': 'DEPS',
            'managed'  : False,
          }
        ],
      },
    }

  @staticmethod
  def expected_root(_props):
    return 'src'


def main(argv=None):
  return Syzygy().handle_args(argv)


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