ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] pre-commit ImportError

From: "POZUELO Gloria (BCS/PSD)" <gloria.pozuelo@xxxxxxxx>
Date: Wed, 17 Feb 2016 08:14:43 +0000
Ok, I've just tried to commit the changes only with the commit-msg hook and the Change-Id was generated properly...I don't know what happen to the pre-commit hook, I'll keep on investigation what's going on...

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of João Valverde
Sent: Wednesday 17 February 2016 09:02
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] pre-commit ImportError

On 17-02-2016 07:48, POZUELO Gloria (BCS/PSD) wrote:
> Hello,
> I'd like to ask you about a problem with the pre-commit hook. It turns
> out that when I try to commit my changes it shows me a message that
> says: "ImportError: No module named site", but when I delete the
> pre-commit hook it allows me to commit my changes but no Change-Id is
> generated... What can I do?

If you delete the pre-commit hook, it should still run the commit-msg hook to generate a Change-Id.
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>