Skip to content

Commit 8399101

Browse files
committed
fix: Lint
1 parent 1b15ea1 commit 8399101

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • airflow_dbt_python/hooks/fs

airflow_dbt_python/hooks/fs/git.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,12 @@ def _upload(
9393
if self.upload_filter(f) is False:
9494
continue
9595

96-
# Starting from dulwich version 1.0.0, stage is an attribute of WorkTree class
96+
# Starting from dulwich version 1.0.0, stage is an attribute of WorkTree class
9797
try:
9898
repo.stage(str(f.relative_to(source)))
9999
except AttributeError:
100100
repo.get_worktree().stage(str(f.relative_to(source)))
101101

102-
103102
ts = dt.datetime.now(dt.timezone.utc)
104103
repo.do_commit(
105104
self.commit_msg.format(ts=ts).encode(), self.commit_author.encode()

0 commit comments

Comments
 (0)