[jhbuild/desrt/master: 31/35] packagedb: remove ancient compat code
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/desrt/master: 31/35] packagedb: remove ancient compat code
- Date: Sun, 4 Jan 2015 04:32:10 +0000 (UTC)
commit 0039f1d2a4f5303d0368a6ff9f4b775bdbd535fa
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Jan 3 22:25:46 2015 -0500
packagedb: remove ancient compat code
Nobody stores manifests in .xml anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=742298
jhbuild/utils/packagedb.py | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/jhbuild/utils/packagedb.py b/jhbuild/utils/packagedb.py
index e6276a6..9f18425 100644
--- a/jhbuild/utils/packagedb.py
+++ b/jhbuild/utils/packagedb.py
@@ -91,21 +91,6 @@ class PackageEntry:
dbentry = cls(package, version, metadata, manifests_dir)
- # Transition code for the time when the list of files were stored
- # in list of xml nodes
- manifestNode = node.find('manifest')
- if manifestNode is not None:
- manifest = []
- for manifest_child in manifestNode:
- if manifest_child.tag != 'file':
- continue
- # The strip here is important since presently we
- # "pretty print" which adds whitespace around <file>.
- # Since we don't handle files with whitespace in their
- # names anyways, it's a fine hack.
- manifest.append(manifest_child.text.strip())
- dbentry.manifest = manifest
-
return dbentry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]