It's the right line number I think, but you need to look below the comment to see the `if` statement I'm mentioning:

https://github.com/edx/edx-platform/pull/2781/files#diff-e2ffffdf6d67c9e0dee5bc10a67eb8bfR441