Skip to content

Commit 7a9efbf

Browse files
committed
fix: xblock_poll -> xblock_poll_question
The import path `xblock_poll` is taken by the *newer* PollBlock, developed and maintained by OpenCraft: https://github.com/open-craft/xblock-poll We don't want to conflict with that block, so we've made the old formerly- built-in block's path xblock_poll_question, which matches its entrtypoint and XML tag, <poll_question>.
1 parent 7f80fe7 commit 7a9efbf

10 files changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def is_requirement(line):
159159
"_discussion_extracted = xblock_discussion:DiscussionXBlock",
160160
"_html_extracted = xblock_html:HtmlBlock",
161161
"_lti_extracted = xblock_lti:LTIBlock",
162-
"_poll_question_extracted = xblock_poll:PollBlock",
162+
"_poll_question_extracted = xblock_poll_question:PollBlock",
163163
"_problem_extracted = xblock_problem:ProblemBlock",
164164
"_video_extracted = xblock_video:VideoBlock",
165165
"_word_cloud_extracted = xblock_word_cloud:WordCloudBlock",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[main]
22
host = https://www.transifex.com
33

4-
[o:open-edx:p:openedx-translations:r:xblock-poll]
4+
[o:open-edx:p:openedx-translations:r:xblock-poll-question]
55
file_filter = conf/locale/<lang>/LC_MESSAGES/text.po
66
source_file = conf/locale/en/LC_MESSAGES/text.po
77
source_lang = en
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/xblock_poll/tests/test_poll.py renamed to src/xblock_poll_question/tests/test_poll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from xblock.fields import ScopeIds
99
from xblock.test.tools import TestRuntime
1010

11-
from xblock_poll import PollBlock
11+
from xblock_poll_question import PollBlock
1212

1313

1414
class PollBlockTest(TestCase):

0 commit comments

Comments
 (0)