Merge pull request #9502 from edx/ned/import-path-differently
Change imports from path to use the stablest name.
This commit is contained in:
@@ -9,7 +9,7 @@ import datetime
|
||||
|
||||
from textwrap import dedent
|
||||
from collections import namedtuple
|
||||
from path import path
|
||||
from path import Path as path
|
||||
|
||||
from opaque_keys.edx.keys import CourseKey
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Course Textbooks page.
|
||||
"""
|
||||
|
||||
import requests
|
||||
from path import path # pylint: disable=no-name-in-module
|
||||
from path import Path as path
|
||||
from .course_page import CoursePage
|
||||
from .utils import click_css
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import os
|
||||
import urlparse
|
||||
from contextlib import contextmanager
|
||||
from datetime import datetime
|
||||
from path import path
|
||||
from path import Path as path
|
||||
from bok_choy.javascript import js_defined
|
||||
from bok_choy.web_app_test import WebAppTest
|
||||
from bok_choy.promise import EmptyPromise, Promise
|
||||
|
||||
Reference in New Issue
Block a user