mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
d31301dfe0
* 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.
22 lines
719 B
Diff
22 lines
719 B
Diff
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:
|
|
|