[jhbuild] packagedb: remove ancient compat code



commit e385291a113a0a413b448746c9953f250e943dd4
Author: Ryan Lortie <desrt desrt ca>
Date:   Sat Jan 3 22:25:46 2015 -0500

    packagedb: remove ancient compat code
    
    Manifests have been stored in separate files since 2011 (bug 655417).
    It is unlikely that anyone has any build results around from those times
    that they still care about.
    
    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]