You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/01/22 15:49:22 UTC
[airflow] 09/33: Fix incorrect arguments (#20638)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 67796f6a758a9005344a9eea070fb5ef04ced120
Author: PApostol <50...@users.noreply.github.com>
AuthorDate: Mon Jan 3 23:01:39 2022 +0200
Fix incorrect arguments (#20638)
(cherry picked from commit b1b8f304586e8ad181861dfe8ac15297c78f917b)
---
dev/airflow-license | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/airflow-license b/dev/airflow-license
index aa72d0b..6007612 100755
--- a/dev/airflow-license
+++ b/dev/airflow-license
@@ -55,7 +55,7 @@ def parse_license_file(project_name):
path = f"../licenses/LICENSE-{name}.txt"
if os.path.exists(path):
data = " ".join(line.strip() for line in open(path)).lower()
- data = data.translate(None, string.punctuation)
+ data = data.translate(string.punctuation)
for k in _licenses:
matches = 0
for v in _licenses[k]: