Fix a typo

remotes/origin/logger
David Barragán Merino 2015-09-21 17:32:32 +02:00
parent 705cee2724
commit e7078fcb7d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class BaseAttachmentViewSet(HistoryResourceMixin, WatchedResourceMixin, ModelCru
def update(self, *args, **kwargs): def update(self, *args, **kwargs):
partial = kwargs.get("partial", False) partial = kwargs.get("partial", False)
if not partial: if not partial:
raise exc.NotSupported(_("Non partial updates not supported")) raise exc.NotSupported(_("Partial updates are not supported"))
return super().update(*args, **kwargs) return super().update(*args, **kwargs)
def get_content_type(self): def get_content_type(self):