Commit eef5950 1 parent 1713351 commit eef5950 Copy full SHA for eef5950
File tree 2 files changed +2
-1
lines changed
src/senaite/core/decorators
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Changelog
5
5
2.3.0 (unreleased)
6
6
------------------
7
7
8
+ - #2143 Fix Traceback when using readonly decorator for objects w/o __name__
8
9
- #2140 Allow to enable/disable analysis categories for samples
9
10
- #2137 Dynamic Workflow Menu
10
11
- #2139 Fix LabClerk cannot create partitions from received samples
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def readonly_transaction(func):
16
16
@wraps (func )
17
17
def decorator (self , * args , ** kwargs ):
18
18
logger .info ("*** READONLY TRANSACTION: '{}.{}' ***" .
19
- format (self .__class__ .__name__ , self .__name__ ))
19
+ format (self .__class__ .__name__ , func .__name__ ))
20
20
tx = transaction .get ()
21
21
tx .doom ()
22
22
return func (self , * args , ** kwargs )
You can’t perform that action at this time.
0 commit comments