nixpkgs/pkgs/development/libraries/physics/rivet/key_val.patch

13 lines
504 B
Diff
Raw Normal View History

2016-06-11 21:48:18 +01:00
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'