Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dacort committed Mar 14, 2023
1 parent 628dc15 commit c212948
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/emr_cli/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ def copy_template(source: str, target_dir: str):
"""
Copies the entire `source` directory to `target_dir`.
"""
source = os.path.abspath(
Path(__file__).parent.parent / "templates" / source
)
source = os.path.abspath(Path(__file__).parent.parent / "templates" / source)
copytree(
source, target_dir, dirs_exist_ok=True, ignore=ignore_patterns("__pycache__")
)
)

0 comments on commit c212948

Please sign in to comment.