Skip to content

Scan all available networks for public and private IPs - #23573

Merged
thatch45 merged 2 commits into
saltstack:2014.7from
techhat:novaquery
May 12, 2015
Merged

thatch45 merged 2 commits into
saltstack:2014.7from
techhat:novaquery

Conversation

@techhat

@techhat techhat commented May 12, 2015

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread salt/cloud/clouds/nova.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non pythonic -> if X not in Y

@techhat

techhat commented May 12, 2015

Copy link
Copy Markdown
Contributor Author

Thanks @hvnsweeting, fixed.

I left .keys() in because it's explicit. Failure to be explicit is what caused the issues that I was encountering.

@hvnsweeting

Copy link
Copy Markdown
Contributor

I left .keys() in because it's explicit. Failure to be explicit is what caused the issues that I was encountering.

could you please elaborate about that a bit? as I've never seen any iterate over a dict will fail of that, or because
somehow it passed a list there? then it will raise Exception for attr but I don't see it fit here.
And anw, I saw guys did a lot to fix style and make code py3 compliant, this seems against them

thatch45 added a commit that referenced this pull request May 12, 2015
Scan all available networks for public and private IPs
@thatch45
thatch45 merged commit cd34b9b into saltstack:2014.7 May 12, 2015
@techhat
techhat deleted the novaquery branch May 12, 2015 16:24
gtmanfred added a commit to gtmanfred/salt that referenced this pull request May 16, 2015
gtmanfred added a commit to gtmanfred/salt that referenced this pull request May 16, 2015
gtmanfred added a commit to gtmanfred/salt that referenced this pull request May 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants