# HG changeset patch # User laurent # Date 1329860195 -3600 # Node ID fb55fbee202c2c54a1c227bfb879cb16493910ab # Parent 96fcadb6a7a001a8db01c8694e7ea7120254585b Inverting order of plugin calls in retrieve and publish diff -r 96fcadb6a7a0 -r fb55fbee202c plugger.py --- a/plugger.py Sun Feb 19 02:20:24 2012 +0100 +++ b/plugger.py Tue Feb 21 22:36:35 2012 +0100 @@ -1410,9 +1410,9 @@ "void __retrieve_%(s)s(void);\n"+ "void __publish_%(s)s(void);")%{'s':locstr} for locstr in locstrs]), "retrieve_calls":"\n ".join([ - "__retrieve_%s();"%locstr for locstr in locstrs]), + "__retrieve_%s();"%locstrs[i-1] for i in xrange(len(locstrs), 0, -1)]), "publish_calls":"\n ".join([ #Call publish in reverse order - "__publish_%s();"%locstrs[i-1] for i in xrange(len(locstrs), 0, -1)]), + "__publish_%s();"%locstr for locstr in locstrs]), "init_calls":"\n ".join([ "init_level=%d; "%(i+1)+ "if((res = __init_%s(argc,argv))){"%locstr +