[Rivet-svn] r3000 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Mar 2 08:07:07 GMT 2011


Author: fsiegert
Date: Wed Mar  2 08:07:07 2011
New Revision: 3000

Log:
Fix for Python 2.4.

Modified:
   trunk/bin/rivet

Modified: trunk/bin/rivet
==============================================================================
--- trunk/bin/rivet	Tue Mar  1 22:51:21 2011	(r2999)
+++ trunk/bin/rivet	Wed Mar  2 08:07:07 2011	(r3000)
@@ -278,7 +278,11 @@
         print "Spires ID: %s" % ana.spiresId()
         print "Spires URL:  http://www.slac.stanford.edu/spires/find/hep/www?rawcmd=key+%s" % ana.spiresId()
         print "HepData URL: http://hepdata.cedar.ac.uk/view/irn%s" % ana.spiresId()
-        print "Experiment: %s" % ana.experiment(), "(%s)" % ana.collider() if ana.collider() else ""
+        if ana.collider():
+            coll=ana.collider()
+        else:
+            coll=""
+        print "Experiment: %s" % ana.experiment(), "(%s)" % coll
         print "Year of publication: %s" % ana.year()
         print "Authors:"
         for a in ana.authors():


More information about the Rivet-svn mailing list