From ee4945cb840781cb5a5d99147785fab9ebfbfde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=B6hn?= Date: Wed, 29 Aug 2018 11:25:01 +0200 Subject: [PATCH] remove unused YamlLoader optimization --- fdroidserver/metadata.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/fdroidserver/metadata.py b/fdroidserver/metadata.py index 7bf1fbe0..02e7bc3d 100644 --- a/fdroidserver/metadata.py +++ b/fdroidserver/metadata.py @@ -28,13 +28,6 @@ import textwrap import io import yaml 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 from fdroidserver import _