Commit Graph

4 Commits

Author SHA1 Message Date
Akihiro Motoki 2525137219 Remove six usage
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.

Change-Id: Ib1659e903aded26994cc5cd56881a21e102964fe
Needed-By: https://review.opendev.org/701743
2020-01-15 09:08:17 +09:00
Jeremy Freudberg ffe4371710 Fix plugin version sorting
Default sorting is not good enough, since it alphabetically sorts
numbers, as in 11 < 2 instead of 11 > 10.

Change-Id: Iaa575cf4ba0fe76524ba2823ce50de30a5b931d9
Closes-Bug: #1707204
2017-10-05 13:04:54 -04:00
Mikhail Lelyakin 052ff867a0 Add pagination ability to UI
Pagination abilities were implemented in Sahara API.
This changes support work with new abilities on UI.

Change-Id: I655779e0c92cf4187ff2566aa109f26abbbccb9d
bp: pagination
Depends-on: Idf96a82b0f49bd288eb3fd9bfa82f92074ea4e7c
2016-08-18 10:55:34 +00:00
Michael Ionkin d102b00af2 Fix gate-sahara-dashboard-python34 job
This patch fixes gate-sahara-dashboard-python34 job. The problem is
that we use base64 in order to encode/decode objects and its methods
returns string which type is 'bytes' class in Python 3. But then
Django expect six.string_types and 'bytes' class doesn't satisfy this.
(see 'encode_multipart' method of django/test/client:
https://github.com/django/django/blob/master/django/test/client.py#L177)

Change-Id: I495d998a1df7c14fab617359bc66c2cd0174013b
Closes-bug: 1567958
2016-06-03 12:33:18 +03:00