% (self.permalink,),
"POST",
{"url" : {"label": label, "location" : url}})
-
+ # Delete URLs that weren't in the update list
+ # FIXME: This cannot work yet: there's no auth code!
+ remove = set(permadict.keys()) - set(lambda x: x[0], urlassoc)
+ #for label in remove:
+ # self.edit_request("projects/%s/urls/%s.json"
+ # % (self.permalink, permadict[label]),
+ # "DELETE")
class FreshmeatMetadataFactory:
"Factory class for producing Freshmeat records in JSON."
freshmeat_field_map = (