mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Remove import workarounds for Python2
This commit is contained in:
parent
f1f5836a66
commit
099b45fcca
1 changed files with 1 additions and 6 deletions
|
@ -35,12 +35,7 @@ import hashlib
|
||||||
import socket
|
import socket
|
||||||
import xml.etree.ElementTree as XMLElementTree
|
import xml.etree.ElementTree as XMLElementTree
|
||||||
|
|
||||||
try:
|
from queue import Queue
|
||||||
# Python 2
|
|
||||||
from Queue import Queue
|
|
||||||
except ImportError:
|
|
||||||
# Python 3
|
|
||||||
from queue import Queue
|
|
||||||
|
|
||||||
from zipfile import ZipFile
|
from zipfile import ZipFile
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue