|
[Rivet-svn] r2418 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Apr 26 22:08:30 BST 2010
Author: fsiegert Date: Mon Apr 26 22:08:40 2010 New Revision: 2418 Log: fix python syntax. Modified: trunk/bin/rivet-mkanalysis Modified: trunk/bin/rivet-mkanalysis ============================================================================== --- trunk/bin/rivet-mkanalysis Mon Apr 26 21:08:22 2010 (r2417) +++ trunk/bin/rivet-mkanalysis Mon Apr 26 22:08:40 2010 (r2418) @@ -38,7 +38,7 @@ ANASRCDIR = os.path.join(ANAROOT, "src/Analyses") ANAINFODIR = os.path.join(ANAROOT, "data/anainfo") ANAPLOTDIR = os.path.join(ANAROOT, "data/plotinfo") - if not (os.exists(ANASRCDIR) and os.exists(ANAINFODIR) and os.exists(ANAPLOTDIR)): + if not (os.path.exists(ANASRCDIR) and os.path.exists(ANAINFODIR) and os.path.exists(ANAPLOTDIR)): logging.error("Rivet analysis dirs do not exist under %s" % ANAROOT) sys.exit(1) if not (os.access(ANASRCDIR, os.W_OK) and os.access(ANAINFODIR, os.W_OK) and os.access(ANAPLOTDIR, os.W_OK)):
More information about the Rivet-svn mailing list |