Skip to content

Commit 58d4fc4

Browse files
author
Tycho Hob
committed
fix: Various typos in output and docstrings
1 parent 4b7f6ff commit 58d4fc4

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

openedx_authz/api/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ class OrgCourseOverviewGlobData(OrgGlobData):
843843
class CCXCourseOverviewData(CourseOverviewData):
844844
"""CCX course scope for authorization in the Open edX platform.
845845
846-
Inherits from CourseOverviewData as CCXs are coursees, just in a different namespace.
846+
Inherits from CourseOverviewData as CCXs are courses, just in a different namespace.
847847
848848
Attributes:
849849
NAMESPACE: 'ccx-v1' for course scopes.
@@ -853,7 +853,7 @@ class CCXCourseOverviewData(CourseOverviewData):
853853
course_id: Property alias for external_key.
854854
855855
Examples:
856-
>>> course = CourseOverviewData(external_key='ccx-v1:OpenedX+DemoX+DemoCourse+ccx@1')
856+
>>> course = CCXCourseOverviewData(external_key='ccx-v1:OpenedX+DemoX+DemoCourse+ccx@1')
857857
>>> course.namespaced_key
858858
'ccx-v1^ccx-v1:OpenedX+DemoX+DemoCourse+ccx@1'
859859
>>> course.course_id

openedx_authz/management/commands/authz_migrate_course_authoring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def handle(self, *args, **options):
8686
self.stdout.write(
8787
self.style.ERROR(
8888
"No legacy roles found for the given scope, course could already be migrated, "
89-
"or there coule be a an error in the course_id_list / org_id."
89+
"or there could be an error in the course_id_list / org_id."
9090
)
9191
)
9292

openedx_authz/management/commands/authz_rollback_course_authoring.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def handle(self, *args, **options):
7777
if errors and success:
7878
self.stdout.write(
7979
self.style.WARNING(
80-
f"Rollback completed with {len(errors)} errors and {len(success)} roles migrated."
80+
f"Rollback completed with {len(errors)} errors and {len(success)} roles rolled back."
8181
)
8282
)
8383
elif errors:
@@ -90,7 +90,7 @@ def handle(self, *args, **options):
9090
self.stdout.write(
9191
self.style.ERROR(
9292
"No roles found for the given scope, course could already be rolled back, "
93-
"or there coule be a an error in the course_id_list / org_id."
93+
"or there could be an error in the course_id_list / org_id."
9494
)
9595
)
9696

0 commit comments

Comments
 (0)