summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaozhe.Chen <chaozhe.chen@easystack.cn>2016-02-09 23:03:31 +0800
committerChaozhe.Chen <chaozhe.chen@easystack.cn>2016-02-09 23:09:24 +0800
commit9e6b12e6b2ecebb6334b6f2a7a1b308e4d3c96e8 (patch)
tree6fdb7ec903c1d1678ffc41bd91de206afe1a6fc1
parentd2ee01bfe4bc8ac864d8f10ef657e6ce45168d9c (diff)
downloadpython-swiftclient-9e6b12e6b2ecebb6334b6f2a7a1b308e4d3c96e8.tar.gz
Use "# noqa" instead of "#flake8: noqa"
"# flake8: noqa" option disables all checks for the whole file. To disable one line we should use "# noqa". Change-Id: I7859eab30563d0eb91c5f055d1b523173b562e54 Closes-bug: #1540254
-rw-r--r--swiftclient/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/swiftclient/__init__.py b/swiftclient/__init__.py
index b412f13..dc192af 100644
--- a/swiftclient/__init__.py
+++ b/swiftclient/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2012 Rackspace
-# flake8: noqa
+#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -17,7 +17,7 @@
"""
OpenStack Swift Python client binding.
"""
-from .client import *
+from .client import * # noqa
# At setup.py time, we haven't installed anything yet, so there
# is nothing that is able to set this version property. Squelching