Jeremy White : Call Python with -B to avoid __pycache__.
Alexandre Julliard
julliard at winehq.org
Thu Apr 28 10:56:35 CDT 2022
Module: tools
Branch: master
Commit: ce7c6171ac9e70104d83678c8f5e66e80f58a229
URL: https://source.winehq.org/git/tools.git/?a=commit;h=ce7c6171ac9e70104d83678c8f5e66e80f58a229
Author: Jeremy White <jwhite at codeweavers.com>
Date: Thu Apr 28 10:22:31 2022 -0500
Call Python with -B to avoid __pycache__.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
gitlab/gitlab-to-mail/gitlabtomail.py | 2 +-
gitlab/gitlab-to-mail/mailtogitlab.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gitlab/gitlab-to-mail/gitlabtomail.py b/gitlab/gitlab-to-mail/gitlabtomail.py
index d4d6972..3708679 100755
--- a/gitlab/gitlab-to-mail/gitlabtomail.py
+++ b/gitlab/gitlab-to-mail/gitlabtomail.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env -S python3 -B
from urllib.parse import urljoin, urlparse
diff --git a/gitlab/gitlab-to-mail/mailtogitlab.py b/gitlab/gitlab-to-mail/mailtogitlab.py
index 7fcb85b..d3eeee7 100755
--- a/gitlab/gitlab-to-mail/mailtogitlab.py
+++ b/gitlab/gitlab-to-mail/mailtogitlab.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env -S python3 -B
from email import message_from_binary_file
from urllib.parse import urljoin
More information about the wine-cvs
mailing list