Dolda2000 GitWeb
/
pdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b433e
)
Fix simplefunc return bug.
master
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 25 Jun 2024 00:27:58 +0000
(
02:27
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 25 Jun 2024 00:27:58 +0000
(
02:27
+0200)
pdm/perf.py
patch
|
blob
|
blame
|
history
diff --git
a/pdm/perf.py
b/pdm/perf.py
index
7c0d561
..
307dccb
100644
(file)
--- a/
pdm/perf.py
+++ b/
pdm/perf.py
@@
-193,7
+193,7
@@
class simplefunc(perfobj):
def invoke(self, method, *args, **kwargs):
if method not in self.map:
raise AttributeError(method)
- self.map[method](*args, **kwargs)
+
return
self.map[method](*args, **kwargs)
def pdm_protocols(self):
return super().pdm_protocols() + ["invoke"]