Attributes come in as a list of dicts with strings as keys and values. Implicitly casting each result as a tuple causes the code to split the key string into it's characters. This yields a list of characters, the first two of which are placed into the variables "attr_name" and "attr_value". This is not only wrong, but because keys tend to be more than 2 characters, the net result is: "ValueError: too many values to unpack"
| Name |
Last commit
|
Last update |
|---|---|---|
| .tx | Loading commit data... | |
| cms | Loading commit data... | |
| common | Loading commit data... | |
| conf/locale | Loading commit data... | |
| docs | Loading commit data... | |
| lms | Loading commit data... | |
| openedx | Loading commit data... | |
| pavelib | Loading commit data... | |
| requirements | Loading commit data... | |
| screenshots/baseline | Loading commit data... | |
| scripts | Loading commit data... | |
| static/monitoring | Loading commit data... | |
| test_root | Loading commit data... | |
| themes | Loading commit data... | |
| vendor_extra/tinymce | Loading commit data... | |
| .babelrc | Loading commit data... | |
| .coveragerc | Loading commit data... | |
| .eslintignore | Loading commit data... | |
| .eslintrc.json | Loading commit data... | |
| .gitattributes | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .npmrc | Loading commit data... | |
| AUTHORS | Loading commit data... | |
| CHANGELOG.rst | Loading commit data... | |
| CONTRIBUTING.rst | Loading commit data... | |
| LICENSE | Loading commit data... | |
| Makefile | Loading commit data... | |
| README.rst | Loading commit data... | |
| circle.yml | Loading commit data... | |
| codecov.yml | Loading commit data... | |
| manage.py | Loading commit data... | |
| openedx.yaml | Loading commit data... | |
| package.json | Loading commit data... | |
| pavement.py | Loading commit data... | |
| pylintrc | Loading commit data... | |
| pylintrc_tweaks | Loading commit data... | |
| setup.cfg | Loading commit data... | |
| setup.py | Loading commit data... | |
| webpack.config.js | Loading commit data... |