Remove get_attr

This removes get_attr() as a library function (use get_attrs() instead)
This commit is contained in:
Bryan Schumaker 2010-11-08 22:19:23 -05:00
parent 02704b4d7e
commit fd812885e8

View File

@ -61,10 +61,6 @@ def file_to_id(file):
return None
return res[0]
def get_attr(id, attr):
print "Please don't use library.get_attr..."
return get_attrs(id, attr)[0]
def get_attrs(id, *attrs):
res = []
rec = tracks.get(id, None)