Skip to content

Commit 334d860

Browse files
committed
Remove deprecated instrument.getMethodUID()
1 parent d5e82be commit 334d860

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

bika/lims/content/instrument.py

-8
Original file line numberDiff line numberDiff line change
@@ -419,14 +419,6 @@ def getManufacturers(self):
419419
items.sort(lambda x, y: cmp(x[1], y[1]))
420420
return DisplayList(items)
421421

422-
@deprecated('[1702] Orphan. No alternative')
423-
def getMethodUID(self):
424-
# TODO Avoid using this function. Returns first method's UID for now.
425-
if self.getMethods():
426-
return self.getMethods()[0].UID()
427-
else:
428-
return ''
429-
430422
def getMethodUIDs(self):
431423
uids = []
432424
if self.getMethods():

0 commit comments

Comments
 (0)