Skip to content
This repository has been archived by the owner. It is now read-only.

Commit 957ba22

Browse files
authored
Merge pull request #276 from basepi/fixup
Fix windows 2008 nova cis issues
2 parents e32c31d + bfc8ec1 commit 957ba22

File tree

3 files changed

+490
-490
lines changed

3 files changed

+490
-490
lines changed

hubblestack_nova/win_secedit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def _get_account_sid():
280280
lines.remove('local:')
281281
for line in lines:
282282
line = line.strip()
283-
if line != '':
283+
if line != '' and ' : ' in line:
284284
k, v = line.split(' : ')
285285
if k.lower() == 'name':
286286
key = v

0 commit comments

Comments
 (0)