summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/python-pyan3-fix-positional-arguments.patch
blob: 81923d7a415e78a56ef515946c0c7bf85a2ff397 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 37404bb039bd9c5509b4aec8f61e360dfba50715 Mon Sep 17 00:00:00 2001
From: Wenxin Ling <w.ling@mediaire.de>
Date: Mon, 1 Mar 2021 15:21:16 +0100
Subject: [PATCH] Fix positional arguments issue for CallGraphVisitor

---
 pyan/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyan/main.py b/pyan/main.py
index 18821a14..5d079714 100644
--- a/pyan/main.py
+++ b/pyan/main.py
@@ -203,7 +203,7 @@ def main(cli_args=None):
         handler = logging.FileHandler(known_args.logname)
         logger.addHandler(handler)
 
-    v = CallGraphVisitor(filenames, logger, root=root)
+    v = CallGraphVisitor(filenames, logger=logger, root=root)
 
     if known_args.function or known_args.namespace: