We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b15ea1 commit 8399101Copy full SHA for 8399101
1 file changed
airflow_dbt_python/hooks/fs/git.py
@@ -93,13 +93,12 @@ def _upload(
93
if self.upload_filter(f) is False:
94
continue
95
96
- # Starting from dulwich version 1.0.0, stage is an attribute of WorkTree class
+ # Starting from dulwich version 1.0.0, stage is an attribute of WorkTree class
97
try:
98
repo.stage(str(f.relative_to(source)))
99
except AttributeError:
100
repo.get_worktree().stage(str(f.relative_to(source)))
101
102
-
103
ts = dt.datetime.now(dt.timezone.utc)
104
repo.do_commit(
105
self.commit_msg.format(ts=ts).encode(), self.commit_author.encode()
0 commit comments