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

Fix file.replace bug when replacement str is numeric #9101

Merged
merged 2 commits into from
Dec 9, 2013

Conversation

terminalmage
Copy link
Contributor

Fixes #9097 and includes a unit test.

@terminalmage
Copy link
Contributor Author

@basepi we should try to get this into 0.17.3, it's a simple fix.

@terminalmage
Copy link
Contributor Author

This needs state support as well, adding that now.

@terminalmage
Copy link
Contributor Author

Actually, the pull request works as-is, no changes need to be made to the state at this time.

basepi added a commit that referenced this pull request Dec 9, 2013
Fix file.replace bug when replacement str is numeric
@basepi basepi merged commit 452f688 into saltstack:develop Dec 9, 2013
@terminalmage terminalmage deleted the issue9097 branch December 30, 2013 19:04
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.

file.replace does not convert arguments to string, truncates file
2 participants