Missing return statement

This commit is contained in:
Roberto Rosario
2014-11-03 02:55:34 -04:00
parent 6a33b4b131
commit f7bfb390cc

View File

@@ -83,7 +83,7 @@ class DocumentCheckoutManager(models.Manager):
if user == checkout_info.user_object: if user == checkout_info.user_object:
# Allow anything to the user who checked out this document # Allow anything to the user who checked out this document
True return True
else: else:
# If not original user check to see if user has global or this document's PERMISSION_DOCUMENT_RESTRICTIONS_OVERRIDE permission # If not original user check to see if user has global or this document's PERMISSION_DOCUMENT_RESTRICTIONS_OVERRIDE permission
try: try: