mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Merge branch 'remove-unused-YamlLoader-optimisation' into 'master'
remove unused YamlLoader optimization See merge request fdroid/fdroidserver!566
This commit is contained in:
commit
f0d27e1fa5
1 changed files with 0 additions and 7 deletions
|
|
@ -28,13 +28,6 @@ import textwrap
|
||||||
import io
|
import io
|
||||||
import yaml
|
import yaml
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
# use libyaml if it is available
|
|
||||||
try:
|
|
||||||
from yaml import CLoader
|
|
||||||
YamlLoader = CLoader
|
|
||||||
except ImportError:
|
|
||||||
from yaml import Loader
|
|
||||||
YamlLoader = Loader
|
|
||||||
|
|
||||||
import fdroidserver.common
|
import fdroidserver.common
|
||||||
from fdroidserver import _
|
from fdroidserver import _
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue