Commit deaf9099 by Clinton Blackburn

Merge pull request #83 from edx/clintonb/fix-dumb-mistake

Removed noop assignments
parents fd8e2587 4822f7db
......@@ -120,7 +120,6 @@ class OrganizationsApiDataLoader(AbstractDataLoader):
image = None
image_url = body['logo']
if image_url:
image_url = image_url
image, __ = Image.objects.get_or_create(src=image_url)
defaults = {
'name': body['name'],
......@@ -209,7 +208,6 @@ class CoursesApiDataLoader(AbstractDataLoader):
image_url = body['media'].get('image', {}).get('raw')
if image_url:
image_url = image_url
image, __ = Image.objects.get_or_create(src=image_url)
return image
......@@ -219,7 +217,6 @@ class CoursesApiDataLoader(AbstractDataLoader):
video_url = body['media'].get('course_video', {}).get('uri')
if video_url:
video_url = video_url
video, __ = Video.objects.get_or_create(src=video_url)
return video
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment