Skip to content

Commit 322974a

Browse files
Merge pull request #171 from Cloud-Architects/develop
Small fix
2 parents a5e4df5 + 6c2bccf commit 322974a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![PyPI version](https://badge.fury.io/py/cloudiscovery.svg)](https://badge.fury.io/py/cloudiscovery)
44
[![Downloads](https://pepy.tech/badge/cloudiscovery)](https://pepy.tech/project/cloudiscovery)
55
[![codecov](https://codecov.io/gh/Cloud-Architects/cloudiscovery/branch/develop/graph/badge.svg)](https://codecov.io/gh/Cloud-Architects/cloudiscovery)
6-
![python version](https://img.shields.io/badge/python-3.6%2C3.7%2C3.8-blue?logo=python)
6+
![python version](https://img.shields.io/badge/python-3.8-blue?logo=python)
77
[![CircleCI](https://circleci.com/gh/Cloud-Architects/cloudiscovery.svg?style=svg)](https://circleci.com/gh/Cloud-Architects/cloudiscovery)
88
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c0a7a5bc51044c7ca8bd9115965e4467)](https://www.codacy.com/gh/Cloud-Architects/cloudiscovery?utm_source=github.com&utm_medium=referral&utm_content=Cloud-Architects/cloudiscovery&utm_campaign=Badge_Grade)
99
[![Hits-of-Code](https://sloc.xyz/github/Cloud-Architects/cloudiscovery?category=code)](https://github.com/Cloud-Architects/cloudiscovery)

cloudiscovery/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121

2222
import pkg_resources
2323

24+
"""path to pip package"""
25+
sys.path.append(dirname(__file__))
26+
27+
# pylint: disable=wrong-import-position
2428
from provider.aws.command import aws_main
2529
from shared.parameters import generate_parser
2630

27-
"""path to pip package"""
28-
sys.path.append(dirname(__file__))
2931

3032
# pylint: disable=wrong-import-position
3133
from shared.common import (

cloudiscovery/shared/diagram.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ def build_diagram(
549549

550550
count = 0
551551
row = 0
552+
public_subnet_x = 0
552553
for _, resource_group in resources.items():
553554
for resource in resource_group:
554555
if resource.digest.type in ["aws_subnet", "aws_vpc"]:

0 commit comments

Comments
 (0)