You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2017/12/21 15:07:20 UTC
[cloudstack] branch debian9-systemvmtemplate updated: Remove unused
imports, make pylint/travis happy
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch debian9-systemvmtemplate
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/debian9-systemvmtemplate by this push:
new 5efec06 Remove unused imports, make pylint/travis happy
5efec06 is described below
commit 5efec06bba9892813fec1d138d5d1688421e8d17
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Dec 21 20:36:53 2017 +0530
Remove unused imports, make pylint/travis happy
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
systemvm/debian/opt/cloud/bin/cs/CsHelper.py | 1 -
systemvm/debian/opt/cloud/bin/cs_cmdline.py | 2 --
systemvm/debian/opt/cloud/bin/cs_dhcp.py | 2 +-
systemvm/debian/opt/cloud/bin/cs_firewallrules.py | 1 -
systemvm/debian/opt/cloud/bin/cs_forwardingrules.py | 2 --
systemvm/debian/opt/cloud/bin/cs_guestnetwork.py | 1 -
systemvm/debian/opt/cloud/bin/cs_loadbalancer.py | 1 -
systemvm/debian/opt/cloud/bin/cs_monitorservice.py | 1 -
systemvm/debian/opt/cloud/bin/cs_network_acl.py | 1 -
systemvm/debian/opt/cloud/bin/cs_remoteaccessvpn.py | 1 -
systemvm/debian/opt/cloud/bin/cs_site2sitevpn.py | 1 -
systemvm/debian/opt/cloud/bin/cs_staticroutes.py | 1 -
systemvm/debian/opt/cloud/bin/cs_vmdata.py | 2 --
systemvm/debian/opt/cloud/bin/cs_vmp.py | 1 -
systemvm/debian/opt/cloud/bin/cs_vpnusers.py | 1 -
15 files changed, 1 insertion(+), 18 deletions(-)
diff --git a/systemvm/debian/opt/cloud/bin/cs/CsHelper.py b/systemvm/debian/opt/cloud/bin/cs/CsHelper.py
index ad8480d..5397038 100755
--- a/systemvm/debian/opt/cloud/bin/cs/CsHelper.py
+++ b/systemvm/debian/opt/cloud/bin/cs/CsHelper.py
@@ -26,7 +26,6 @@ import os.path
import re
import shutil
from netaddr import *
-from pprint import pprint
PUBLIC_INTERFACES = {"router": "eth2", "vpcrouter": "eth1"}
diff --git a/systemvm/debian/opt/cloud/bin/cs_cmdline.py b/systemvm/debian/opt/cloud/bin/cs_cmdline.py
index bbe76c6..4315dde 100755
--- a/systemvm/debian/opt/cloud/bin/cs_cmdline.py
+++ b/systemvm/debian/opt/cloud/bin/cs_cmdline.py
@@ -15,8 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
-
def merge(dbag, cmdline):
if 'redundant_router' in cmdline['cmd_line']:
diff --git a/systemvm/debian/opt/cloud/bin/cs_dhcp.py b/systemvm/debian/opt/cloud/bin/cs_dhcp.py
index 04e9b1c..b85e650 100755
--- a/systemvm/debian/opt/cloud/bin/cs_dhcp.py
+++ b/systemvm/debian/opt/cloud/bin/cs_dhcp.py
@@ -15,9 +15,9 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
from netaddr import *
+
def merge(dbag, data):
# A duplicate ip address wil clobber the old value
# This seems desirable ....
diff --git a/systemvm/debian/opt/cloud/bin/cs_firewallrules.py b/systemvm/debian/opt/cloud/bin/cs_firewallrules.py
index c0ccedd..1357c6c 100755
--- a/systemvm/debian/opt/cloud/bin/cs_firewallrules.py
+++ b/systemvm/debian/opt/cloud/bin/cs_firewallrules.py
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
import copy
diff --git a/systemvm/debian/opt/cloud/bin/cs_forwardingrules.py b/systemvm/debian/opt/cloud/bin/cs_forwardingrules.py
index e30c012..974c468 100755
--- a/systemvm/debian/opt/cloud/bin/cs_forwardingrules.py
+++ b/systemvm/debian/opt/cloud/bin/cs_forwardingrules.py
@@ -15,8 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
-
def merge(dbag, rules):
for rule in rules["rules"]:
diff --git a/systemvm/debian/opt/cloud/bin/cs_guestnetwork.py b/systemvm/debian/opt/cloud/bin/cs_guestnetwork.py
index 31c0796..9543469 100755
--- a/systemvm/debian/opt/cloud/bin/cs_guestnetwork.py
+++ b/systemvm/debian/opt/cloud/bin/cs_guestnetwork.py
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
keys = ['eth1', 'eth2', 'eth3', 'eth4', 'eth5', 'eth6', 'eth7', 'eth8', 'eth9']
diff --git a/systemvm/debian/opt/cloud/bin/cs_loadbalancer.py b/systemvm/debian/opt/cloud/bin/cs_loadbalancer.py
index 14b2732..7771309 100755
--- a/systemvm/debian/opt/cloud/bin/cs_loadbalancer.py
+++ b/systemvm/debian/opt/cloud/bin/cs_loadbalancer.py
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
import copy
diff --git a/systemvm/debian/opt/cloud/bin/cs_monitorservice.py b/systemvm/debian/opt/cloud/bin/cs_monitorservice.py
index c8b6326..75a7c95 100755
--- a/systemvm/debian/opt/cloud/bin/cs_monitorservice.py
+++ b/systemvm/debian/opt/cloud/bin/cs_monitorservice.py
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
from netaddr import *
diff --git a/systemvm/debian/opt/cloud/bin/cs_network_acl.py b/systemvm/debian/opt/cloud/bin/cs_network_acl.py
index 46219be..7d947d4 100755
--- a/systemvm/debian/opt/cloud/bin/cs_network_acl.py
+++ b/systemvm/debian/opt/cloud/bin/cs_network_acl.py
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
from netaddr import *
diff --git a/systemvm/debian/opt/cloud/bin/cs_remoteaccessvpn.py b/systemvm/debian/opt/cloud/bin/cs_remoteaccessvpn.py
index 4ae79c1..dff05bd 100755
--- a/systemvm/debian/opt/cloud/bin/cs_remoteaccessvpn.py
+++ b/systemvm/debian/opt/cloud/bin/cs_remoteaccessvpn.py
@@ -15,7 +15,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
def merge(dbag, vpn):
diff --git a/systemvm/debian/opt/cloud/bin/cs_site2sitevpn.py b/systemvm/debian/opt/cloud/bin/cs_site2sitevpn.py
index 972c09a..3fa8414 100755
--- a/systemvm/debian/opt/cloud/bin/cs_site2sitevpn.py
+++ b/systemvm/debian/opt/cloud/bin/cs_site2sitevpn.py
@@ -15,7 +15,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
def merge(dbag, vpn):
diff --git a/systemvm/debian/opt/cloud/bin/cs_staticroutes.py b/systemvm/debian/opt/cloud/bin/cs_staticroutes.py
index 209eefe..16c3b81 100755
--- a/systemvm/debian/opt/cloud/bin/cs_staticroutes.py
+++ b/systemvm/debian/opt/cloud/bin/cs_staticroutes.py
@@ -15,7 +15,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
def merge(dbag, staticroutes):
diff --git a/systemvm/debian/opt/cloud/bin/cs_vmdata.py b/systemvm/debian/opt/cloud/bin/cs_vmdata.py
index 4150221..d171e54 100755
--- a/systemvm/debian/opt/cloud/bin/cs_vmdata.py
+++ b/systemvm/debian/opt/cloud/bin/cs_vmdata.py
@@ -15,8 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
-
def merge(dbag, metadata):
dbag[metadata["vm_ip_address"]] = metadata["vm_metadata"]
diff --git a/systemvm/debian/opt/cloud/bin/cs_vmp.py b/systemvm/debian/opt/cloud/bin/cs_vmp.py
index d0169f7..beeadfc 100755
--- a/systemvm/debian/opt/cloud/bin/cs_vmp.py
+++ b/systemvm/debian/opt/cloud/bin/cs_vmp.py
@@ -15,7 +15,6 @@
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
from netaddr import *
diff --git a/systemvm/debian/opt/cloud/bin/cs_vpnusers.py b/systemvm/debian/opt/cloud/bin/cs_vpnusers.py
index 8dc4548..3bef1fe 100755
--- a/systemvm/debian/opt/cloud/bin/cs_vpnusers.py
+++ b/systemvm/debian/opt/cloud/bin/cs_vpnusers.py
@@ -15,7 +15,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-from pprint import pprint
import copy
--
To stop receiving notification emails like this one, please contact
['"commits@cloudstack.apache.org" <co...@cloudstack.apache.org>'].