Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii committed May 29, 2024
1 parent a3af382 commit d49dd62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ class Command(BaseCommand):
Set up programs configurations for the LMS.
Example usage:
./manage.py lms enable_programs --discovery-api-url=http://edx.devstack.discovery:18381/api/v1/ --settings=production # pylint: disable=C0301
./manage.py lms enable_programs --discovery-api-url=http://edx.devstack.discovery:18381/api/v1/ --service-username=discovery_worker --settings=production # pylint: disable=C0301
./manage.py lms enable_programs --discovery-api-url=http://edx.devstack.discovery:18381/api/v1/
--settings=production
./manage.py lms enable_programs --discovery-api-url=http://edx.devstack.discovery:18381/api/v1/
--service-username=discovery_worker --settings=production
"""
help = 'Create or update LMS configuration models to enable programs feature.'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _check_configurations_updated(self):
return False

if SiteConfiguration.objects.get(
site=self.site).site_values.get('COURSE_CATALOG_API_URL') != self.discovery_url:
site=self.site).site_values.get('COURSE_CATALOG_API_URL') != self.discovery_url:
return False

return True
Expand Down

0 comments on commit d49dd62

Please sign in to comment.