Skip to content

Commit c81225e

Browse files
committed
chore: remove redundant words in comment
Signed-off-by: pavedroad <[email protected]>
1 parent eeb5e62 commit c81225e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

oioioi/maintenancemode/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _process_request(self, request):
2828
return None
2929

3030
# If admin logged in as another user, the information who
31-
# the real user is is stored in real_user
31+
# the real user is stored in real_user
3232
if hasattr(request, "real_user"):
3333
if request.real_user.is_superuser:
3434
return None

oioioi/problems/management/commands/create_mock_competition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
]
324324

325325

326-
# Helper command, which finds the the smallest natural number n, such that
326+
# Helper command, which finds the smallest natural number n, such that
327327
# no object from the model model_class has a field equal to [base_value]n.
328328
# This function is to be used for finding anyname that isn't
329329
# used in the database yet.

oioioi/programs/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def _testreports_to_generate_outs(request, testreports):
312312
continue
313313
else:
314314
download_control.status = "?"
315-
# invisible to the the user when first generated by the admin
315+
# invisible to the user when first generated by the admin
316316
download_control.visible_for_user = not is_contest_basicadmin(request)
317317
download_control.save()
318318

oioioi/sinolpack/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ def _get_memory_limit(self, created, name, group):
932932

933933
@_describe_processing_error
934934
def _get_time_limit(self, created, name, group):
935-
"""If we find the time limit specified anywhere in in the ``config.yml``
935+
"""If we find the time limit specified anywhere in the ``config.yml``
936936
then we overwrite potential manual changes.
937937
938938
The time limit is more important the more specific it is.

0 commit comments

Comments
 (0)