blob: dc67686a3272037747828a419fee1cbc264c8bcf [file] [log] [blame]
# Module 'util' -- some useful functions that dont fit elsewhere
# Remove an item from a list at most once
#
def remove(item, list):
for i in range(len(list)):
if list[i] = item:
del list[i]
break