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

making safe output magic happen #42

Merged
merged 1 commit into from
Feb 28, 2015
Merged

making safe output magic happen #42

merged 1 commit into from
Feb 28, 2015

Conversation

opotowsky
Copy link
Member

No description provided.

@scopatz scopatz merged commit 795015c into cyclus:master Feb 28, 2015
@@ -582,6 +582,17 @@ def __getattr__(self, key):
return self._s.replace('\n', '\n' + ' '*n)
return self.__dict__[key]

def safe_output(cmd, shell=False, *args, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

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

btw, you have an argument shell here, but don't use it (same with the other function)

Copy link
Member

Choose a reason for hiding this comment

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

That is by design so that it is consumed and doesn't make it into kwargs.

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