
import os
from dcicutils.deployment_utils import Deployer


class FourfrontDeployer(Deployer):
    _MY_DIR = os.path.dirname(__file__)
    TEMPLATE_DIR = os.path.join(_MY_DIR, "ini_files")
    PYPROJECT_FILE_NAME = os.path.join(os.path.dirname(_MY_DIR), "pyproject.toml")


def main():
    FourfrontDeployer.main()


if __name__ == '__main__':
    main()


import os
from dcicutils.deployment_utils import BasicLegacyFourfrontIniFileManager


class FourfrontDeployer(BasicLegacyFourfrontIniFileManager):
    _MY_DIR = os.path.dirname(__file__)
    TEMPLATE_DIR = os.path.join(_MY_DIR, "ini_files")
    PYPROJECT_FILE_NAME = os.path.join(os.path.dirname(_MY_DIR), "pyproject.toml")


def main():
    FourfrontDeployer.main()


if __name__ == '__main__':
    main()

Adjust deployer to use new class name for ini file management.
Adjust deployer to use new class name for ini file management.

  
  import os
- from dcicutils.deployment_utils import Deployer
+ from dcicutils.deployment_utils import BasicLegacyFourfrontIniFileManager
  
  
- class FourfrontDeployer(Deployer):
+ class FourfrontDeployer(BasicLegacyFourfrontIniFileManager):
      _MY_DIR = os.path.dirname(__file__)
      TEMPLATE_DIR = os.path.join(_MY_DIR, "ini_files")
      PYPROJECT_FILE_NAME = os.path.join(os.path.dirname(_MY_DIR), "pyproject.toml")
  
  
  def main():
      FourfrontDeployer.main()
  
  
  if __name__ == '__main__':
      main()
  
Adjust deployer to use new class name for ini file management.
## Code Before:

import os
from dcicutils.deployment_utils import Deployer


class FourfrontDeployer(Deployer):
    _MY_DIR = os.path.dirname(__file__)
    TEMPLATE_DIR = os.path.join(_MY_DIR, "ini_files")
    PYPROJECT_FILE_NAME = os.path.join(os.path.dirname(_MY_DIR), "pyproject.toml")


def main():
    FourfrontDeployer.main()


if __name__ == '__main__':
    main()

## Instruction:
Adjust deployer to use new class name for ini file management.
## Code After:

import os
from dcicutils.deployment_utils import BasicLegacyFourfrontIniFileManager


class FourfrontDeployer(BasicLegacyFourfrontIniFileManager):
    _MY_DIR = os.path.dirname(__file__)
    TEMPLATE_DIR = os.path.join(_MY_DIR, "ini_files")
    PYPROJECT_FILE_NAME = os.path.join(os.path.dirname(_MY_DIR), "pyproject.toml")


def main():
    FourfrontDeployer.main()


if __name__ == '__main__':
    main()
