Commit f979cad
committed
Fix reporting of step name
The step method is a method returning the actual method.
The `Bundle` easyblock uses a `getattr` call there instead of the method name.
As the reflection looks at local name(s) it will find the `getattr`
instead of the actual method.
Access the `__name__` property of the returned function instead so we
will always get the right name no matter how the lambda/method is defined.1 parent 87b3d9d commit f979cad
2 files changed
+44
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4662 | 4662 | | |
4663 | 4663 | | |
4664 | 4664 | | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
4665 | 4668 | | |
4666 | | - | |
| 4669 | + | |
4667 | 4670 | | |
4668 | 4671 | | |
4669 | 4672 | | |
4670 | 4673 | | |
4671 | 4674 | | |
4672 | 4675 | | |
4673 | 4676 | | |
4674 | | - | |
4675 | | - | |
4676 | | - | |
| 4677 | + | |
4677 | 4678 | | |
4678 | 4679 | | |
4679 | 4680 | | |
| |||
4682 | 4683 | | |
4683 | 4684 | | |
4684 | 4685 | | |
4685 | | - | |
4686 | | - | |
4687 | | - | |
| 4686 | + | |
4688 | 4687 | | |
4689 | 4688 | | |
4690 | 4689 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
3555 | 3555 | | |
3556 | 3556 | | |
3557 | 3557 | | |
| 3558 | + | |
| 3559 | + | |
| 3560 | + | |
| 3561 | + | |
| 3562 | + | |
| 3563 | + | |
| 3564 | + | |
| 3565 | + | |
| 3566 | + | |
| 3567 | + | |
| 3568 | + | |
| 3569 | + | |
| 3570 | + | |
| 3571 | + | |
| 3572 | + | |
| 3573 | + | |
| 3574 | + | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
| 3591 | + | |
| 3592 | + | |
| 3593 | + | |
| 3594 | + | |
3558 | 3595 | | |
3559 | 3596 | | |
3560 | 3597 | | |
| |||
0 commit comments