Yeah.  This method doesn't really make sense within the context of this file.  I moved it to its only caller (get_static_tab_contents in lms/djangoapps/courseware/tabs.py).