X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FMultiMCLoop%2FSConstruct;h=c1f79a3848d978e7a6cbc22d616520f3aa7dd4fd;hb=afae50abf125df375ff1610b7a659f9b1da61bc0;hp=611677d2fed667263288f873e88a0047bd83fb51;hpb=eb83d096ce313989c3588c1cb6663caa513fb370;p=senf.git diff --git a/Examples/MultiMCLoop/SConstruct b/Examples/MultiMCLoop/SConstruct index 611677d..c1f79a3 100644 --- a/Examples/MultiMCLoop/SConstruct +++ b/Examples/MultiMCLoop/SConstruct @@ -1,7 +1,9 @@ # -*- python -*- - import sys, os, os.path -sys.path.append(((_ for _ in (os.path.join(os.path.sep.join(('..' for _ in range(_))),d,'site_scons') for d in ('','senf','Senf') for _ in range(len(os.getcwd().split('/')))) if os.path.exists(_))).next()) +try: sys.path.append(((_ for _ in (os.path.join(os.path.sep.join(('..' for _ in range(_))),d, + 'site_scons') for d in ('','senf','Senf') for _ in range(len(os.getcwd().split('/')))) + if os.path.exists(_))).next()) +except: pass import senfutil env = Environment()