Commit Graph

6 Commits

Author SHA1 Message Date
Takashi Kajinami bced896d37 Remove workaround for old django-pyscss
This reverts the change[1] made earlier to workaround the issue caused
by usage of vendored version of six library in the django-pyscss
library.

The django-pyscss library no longer imports the vendored version of
six, since 2.0.3[2].

[1] 39f28ad5ed
[2] 1499332e1d

Change-Id: I22802b75d6a8d8f35930709e89d64dd65982cef0
2024-02-02 03:23:43 +09:00
Radomir Dopieralski 61d245f2f3 Add workaround for invalid regex in PySass
Moneky-patch the regex with a valid one

Change-Id: I9a5e8c7306fed1e7321fa648b2c7b78039cd30ac
2023-11-07 12:10:09 +00:00
Akihiro Motoki 39f28ad5ed Preparation for Django 3.0 and 3.1 support (2)
django-pyscss is not compatible with Django 3.0.
django_pyscss_fix is a temporary workaround for django.utils.six
used in django-pyscss. It also add six in requirements.txt
as we use six module for this workaround.
This is just to run horizon for testing with Django 3.0+.

six is re-added to requirements.txt as it is used in the workaround.
Note that other codes in the horizon repo should not depend on six.

Change-Id: If79289b7518dd8eaf292a90d6fb790beb154cb7c
2021-09-16 16:16:12 +09:00
Gábor Antal 34a3aa0ba8 Handle log message interpolation by the logger
According to OpenStack Guideline[1], logged string message should be
interpolated by the logger.

[1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages
Change-Id: I51f50935f1eeffe4960562d6309dfdf05814e595
Closes-Bug: #1596829
2017-03-31 20:59:16 +09:00
gecong1973 0854bb9962 Fix some spelling mistakes in horizon
intermittantly should be intermittently
  finctionality should be  functionality
  funcionalities should be functionalities

  Closes-Bug: #1595439

Change-Id: If04aa2170a0c27ebfa89a1e3fa1539ea0e52f7b6
2016-06-23 17:04:35 +08:00
Doug Fish fc981d2e37 Workaround for 'File exists' test failure
Adds code to create the assets directory that django_pyscss
intends to create for scss.  This avoids throwing an exception
in concurrency scenarios

Change-Id: Ic55e2a7ce59ec9b7550a7412697cb8d6563d98a3
Closes-bug: #1367590
2014-09-30 06:43:22 -05:00