Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing mis-spelling of lattrs in file.py, referncing #49204 #49827

Merged
merged 1 commit into from
Sep 30, 2018
Merged

fixing mis-spelling of lattrs in file.py, referncing #49204 #49827

merged 1 commit into from
Sep 30, 2018

Conversation

dgmorrisjr
Copy link

per request from @gtmanfred, creating a pull request

What does this PR do?

Correct the mis-spelling of lattrs in the except block, line 4514

What issues does this PR fix or reference?

when running a file action that recurses (e.g. recurse owner, group, mode, etc), the state would fail. Found this issue in 2018.1 and discovered that it was being fixed in latest develop branch.

lattrs is mis-spelled in this line. if the except condition fires, then the following if lattrs is not None: line will throw an local variable 'lattrs' referenced before assignment error.

Previous Behavior

local variable 'lattrs' referenced before assignment error

Tests written?

No

Commits signed with GPG?

No

Copy link
Contributor

@gtmanfred gtmanfred left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for this @dgmorrisjr

@gtmanfred
Copy link
Contributor

great catch!

@dgmorrisjr
Copy link
Author

happy to help !

@cachedout cachedout merged commit 8a8a7fe into saltstack:develop Sep 30, 2018
@rallytime rallytime added the bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch label Sep 30, 2018
@rallytime rallytime added ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch. and removed bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch labels Oct 1, 2018
rallytime pushed a commit that referenced this pull request Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants