Merge lp:~therve/storm/276690-variable-hash into lp:storm

Proposed by Thomas Herve
Status: Merged
Merge reported by: Thomas Herve
Merged at revision: 270
Proposed branch: lp:~therve/storm/276690-variable-hash
Merge into: lp:storm
To merge this branch: bzr merge lp:~therve/storm/276690-variable-hash
Reviewer Review Type Date Requested Status
Gustavo Niemeyer Approve
James Henstridge Approve
Review via email: mp+1201@code.launchpad.net
To post a comment you must log in.
Revision history for this message
James Henstridge (jamesh) wrote :

Looks pretty good. Two small issues:

[1]
there are a few lines in storm/store.py that could do with wrapping or splitting into multiple statements using a temporary variable (primary_vars => primary_vals maybe?)

[2]
Could you use the assertVariablesEqual() helper for your changes in tests/properties.py?

review: Approve
Revision history for this message
Thomas Herve (therve) wrote :

Thanks, both points addressed!

274. By Thomas Herve

 * Use temporary variables in store.py to lighten the code
 * Use assertVariablesEqual in tests/properties.py instead of manual checking

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

<niemeyer> therve: Your branch 276690-variable-hash looks very good
<therve> niemeyer: cool!
<therve> I got some nice comments from James
<niemeyer> therve: I was wondering about putting that algorithm we do frequently in a single place
<niemeyer> therve: The building of the alive key
<niemeyer> therve: But that may be done in a second moment

review: Approve

Subscribers

People subscribed via source and target branches

to status/vote changes: