On Sunday, October 16, 2016 at 11:50:00 AM UTC-5, Edward K. Ream wrote:
> On Sunday, October 16, 2016 at 11:18:02 AM UTC-5, Edward K. Ream wrote:
> p = subprocess.Popen(
>> ["git", "log" , '-1', '--date=default-local'],
When this code is run outside a git repo, git log will issue a "fatal"
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,
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 email@example.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.