[PATCH v3] nmbug: Translate to Python

David Bremner bremner at debian.org
Sun Aug 24 13:02:07 PDT 2014


"W. Trevor King" <wking at tremily.us> writes:

>> Traceback (most recent call last):
>>   File "/home/bremner/config/scripts/nmbug", line 766, in <module>
>>     args.func(**kwargs)
>>   File "/home/bremner/config/scripts/nmbug", line 463, in push
>>     _git(args=args, wait=True)
>>   File "/home/bremner/config/scripts/nmbug", line 210, in _git
>>     return _spawn(args=args, **kwargs)
>>   File "/home/bremner/config/scripts/nmbug", line 193, in _spawn
>>     args=args, status=status, stdout=stdout, stderr=stderr)
>> __main__.SubprocessError: ['git', '--git-dir', '/home/bremner/.nmbug', 'push'] exited with 1
>
> I can drop the backtrace and just print the SubprocessError, and just
> show the traceback if the logging is set to ‘debug’.  If that sounds
> reasonable, I'll to it in v4.

Yeah, I'd leave the hint lines for now.


More information about the notmuch mailing list