Merge "Update hacking version to latest"

This commit is contained in:
Zuul 2019-01-20 20:01:51 +00:00 committed by Gerrit Code Review
commit 3e541aeced
2 changed files with 11 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration # of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later. # process, which may cause wedges in the gate later.
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0 hacking>=1.1.0,<1.2.0 # Apache-2.0
coverage>=3.6 coverage>=3.6
python-subunit>=0.0.18 python-subunit>=0.0.18

View File

@ -12,6 +12,16 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import json
import logging
import tempfile
from horizon.utils.memoized import memoized
from keystoneauth1.identity.generic.token import Token
from keystoneauth1.session import Session
from openstack_dashboard.api import base
from vitrageclient import client as vitrage_client
""" """
https://docs.openstack.org/horizon/latest/contributor/tutorials/plugin.html https://docs.openstack.org/horizon/latest/contributor/tutorials/plugin.html
""" """
@ -22,15 +32,6 @@ https://docs.openstack.org/horizon/latest/contributor/tutorials/plugin.html
While interactions with the service can be handled in the views.py, While interactions with the service can be handled in the views.py,
isolating the logic is an established pattern in Horizon. isolating the logic is an established pattern in Horizon.
""" """
from horizon.utils.memoized import memoized # noqa
import json
from keystoneauth1.identity.generic.token import Token
from keystoneauth1.session import Session
from openstack_dashboard.api import base
import tempfile
from vitrageclient import client as vitrage_client
import logging
LOG = logging.getLogger(__name__) LOG = logging.getLogger(__name__)