nixpkgs/pkgs/development/libraries/physics/rivet/key_val.patch
2016-10-19 02:17:02 -04:00

13 lines
504 B
Diff

diff --git a/bin/rivet-cmphistos b/bin/rivet-cmphistos
--- a/bin/rivet-cmphistos
+++ b/bin/rivet-cmphistos
@@ -371,7 +371,7 @@ if __name__ == '__main__':
# plot[key] = val
if plotoptions.has_key("PLOT"):
for key_val in plotoptions["PLOT"]:
- key, val = [s.strip() for s in key_val.split("=")]
+ key, val = [s.strip() for s in key_val.split("=", 1)]
plot[key] = val
if opts.LINEAR:
plot['LogY'] = '0'