logo       

Updated python module for Spread v4: msg#00021

network.spread.user

Subject: Updated python module for Spread v4

Due the small API changes in the Spread v4 membership notification, the current SpreadModule (v1.5) doesn't compile.

I have attached a patch file that changes the MembershipMsg class. It removes the 'extra' attribute and replaces it with an 'orig_members' attribute that is a tuple of tuples containing the vs_sets and the group_names that came together to form the current vs_set.

It also changes the testspread.py script to reflect the change and setup.py for the new library name.

It hasn't been extensively tested, but I wanted to get it out in case there was anyone else who wanted to use the new Spread version with python.

--Bill Noon
Northeast Regional Climate Center
Cornell University

Attachment: spreadmodule.patch
Description: Binary data

_______________________________________________
Spread-users mailing list
Spread-users@xxxxxxxxxxxxxxxx
http://lists.spread.org/mailman/listinfo/spread-users
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise