From 24ed493f08c3b4096e7c15b4710b6e7819a16a3c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 25 Oct 2006 16:47:54 +0000 Subject: For the time being, write a variation of the old _eclass_ format so that cache written only forces a regen for older versions of portage rather than a ValueError due to failed long() conversion. svn path=/main/trunk/; revision=4815 --- pym/cache/template.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pym/cache/template.py') diff --git a/pym/cache/template.py b/pym/cache/template.py index 1e3c9abe8..cce8e30a8 100644 --- a/pym/cache/template.py +++ b/pym/cache/template.py @@ -157,8 +157,18 @@ class database(object): def serialize_eclasses(eclass_dict): """takes a dict, returns a string representing said dict""" + """The "new format", which causes older versions of