On Sunday, October 16, 2016 at 1:15:56 PM UTC-5, Edward K. Ream wrote:
When this code is run outside a git repo, git log will issue a "fatal"
> [sic] error. This will typically be true when the user is running an
> "official" release. We can suppress such irrelevant messages by adding this
> arg to the call to subprocess.Popen:
> stderr=None if trace else subprocess.DEVNULL,
Arrgh. pylint informs me that DEVNULL does not exist with Python2. Using
subprocess.PIPE works with both 2 and 3.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.