Skip to content

Commit

Permalink
typos [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
miki725 committed Feb 8, 2015
1 parent 74afc1a commit bfa79f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rest_framework_bulk/drf2/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_object(self):
try:
super(BulkUpdateModelMixin, self).get_object()
except ImproperlyConfigured:
# probably happened when called get_object() within metdata()
# probably happened when called get_object() within metadata()
# which is not allowed on list viewset however since we are enabling
# PUT here, we should handle the exception
# if called within metadata(), we can simply swallow exception
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_bulk/drf3/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_object(self):
# however since we are enabling PUT here, we should handle the
# exception if called within options()
# We can simply swallow the exception since that method
# does not actually do anythingwith the returned object
# does not actually do anything with the returned object
for file, line, function, code in traceback.extract_stack():
if all((file.endswith('rest_framework/views.py'),
function == 'options')):
Expand Down

0 comments on commit bfa79f6

Please sign in to comment.