summary refs log tree commit diff
path: root/gnu/packages/patches/python-pyan3-fix-positional-arguments.patch
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2021-08-02 14:15:39 +0530
committerArun Isaac <arunisaac@systemreboot.net>2021-08-18 19:27:58 +0530
commitd31301dfe08076e5d229175b2cd093c6fe60a6d5 (patch)
tree2aafbf9b6c873d5eaa483a306f2803cc8e11fb09 /gnu/packages/patches/python-pyan3-fix-positional-arguments.patch
parentea04295256329511b3201feaefb17900b05053b0 (diff)
downloadguix-d31301dfe08076e5d229175b2cd093c6fe60a6d5.tar.gz
gnu: Add python-pyan3.
* gnu/packages/python-xyz.scm (python-pyan3): New variable.
* gnu/packages/patches/python-pyan3-fix-absolute-path-bug.patch,
gnu/packages/patches/python-pyan3-fix-positional-arguments.patch: New files.
* gnu/local.mk: Register them.
Diffstat (limited to 'gnu/packages/patches/python-pyan3-fix-positional-arguments.patch')
-rw-r--r--gnu/packages/patches/python-pyan3-fix-positional-arguments.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-pyan3-fix-positional-arguments.patch b/gnu/packages/patches/python-pyan3-fix-positional-arguments.patch
new file mode 100644
index 0000000000..81923d7a41
--- /dev/null
+++ b/gnu/packages/patches/python-pyan3-fix-positional-arguments.patch
@@ -0,0 +1,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:
+