Skip to content

Commit 3f6328e

Browse files
committed
Begin PEP8 refactor nsmscan
1 parent 26ad2ed commit 3f6328e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nsmscan.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import nsmmongo
88
import nsmcouch
99

10+
1011
def massScan(platform):
1112
yes_tag = ['y', 'Y']
1213
no_tag = ['n', 'N']
@@ -83,11 +84,11 @@ def massScan(platform):
8384

8485
elif result[0] == 1:
8586
print platform + " running but credentials required on " + target.rstrip() + "."
86-
creds.append(target.rstrip()) #Future use
87+
creds.append(target.rstrip()) # Future use
8788

8889
elif result[0] == 2:
8990
print "Successful " + platform + " connection to " + target.rstrip() + " but error executing command."
90-
commError.append(target.rstrip()) #Future use
91+
commError.append(target.rstrip()) # Future use
9192

9293
elif result[0] == 3:
9394
print "Couldn't connect to " + target.rstrip() + "."

0 commit comments

Comments
 (0)