You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by da...@apache.org on 2016/08/10 22:02:12 UTC

incubator-airflow git commit: Fix format string bug

Repository: incubator-airflow
Updated Branches:
  refs/heads/master 197c9050e -> f2b458e53


Fix format string bug

Dear Airflow Maintainers,

Please accept this PR that addresses the following issues:
- [https://issues.apache.org/jira/browse/AIRFLOW-408](https://issues.apache.org/jira/browse/AIRFLOW-408)

plypaul

Closes #1719 from zodiac/xuanji/fix_format_bug


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/f2b458e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/f2b458e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/f2b458e5

Branch: refs/heads/master
Commit: f2b458e53b696624905d0a11192cd7f3034a41ab
Parents: 197c905
Author: Li Xuanji <xu...@gmail.com>
Authored: Wed Aug 10 15:02:06 2016 -0700
Committer: Dan Davydov <da...@airbnb.com>
Committed: Wed Aug 10 15:02:06 2016 -0700

----------------------------------------------------------------------
 airflow/bin/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/f2b458e5/airflow/bin/cli.py
----------------------------------------------------------------------
diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index 76777a0..aa998a1 100755
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -66,7 +66,7 @@ def sigquit_handler(sig, frame):
                     .format(id_to_name.get(thread_id, ""), thread_id))
         for filename, line_number, name, line in traceback.extract_stack(stack):
             code.append('File: "{}", line {}, in {}'
-                        .format((filename, line_number, name)))
+                        .format(filename, line_number, name))
             if line:
                 code.append("  {}".format(line.strip()))
     print("\n".join(code))