1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

python: remove support of Python 2.x

This commit is contained in:
Sébastien Helleu
2022-10-15 22:56:06 +02:00
parent 7a544d5fcf
commit 319abf4fd0
44 changed files with 92 additions and 575 deletions
+2 -5
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2017-2022 Sébastien Helleu <flashcode@flashtux.org>
@@ -41,10 +41,7 @@ import argparse
import ast
from datetime import datetime
import inspect
try:
from StringIO import StringIO # python 2
except ImportError:
from io import StringIO # python 3
from io import StringIO
import os
import sys
import traceback