diff --git a/lib/latte/Install.py b/lib/latte/Install.py index 76538941cb..61f52943d8 100644 --- a/lib/latte/Install.py +++ b/lib/latte/Install.py @@ -69,7 +69,7 @@ version = args.version suffixflag = args.machine != None suffix = args.machine -if (pathflag): +if pathflag: lattedir = args.path if not os.path.isdir(lattedir): sys.exit("LATTE path %s does not exist" % lattedir) lattedir = fullpath(lattedir) diff --git a/lib/mscg/Install.py b/lib/mscg/Install.py index 12a8aeb5c2..39b673a901 100644 --- a/lib/mscg/Install.py +++ b/lib/mscg/Install.py @@ -72,7 +72,7 @@ tardir = "MSCG-release-%s" % mscgver homepath = fullpath('.') homedir = "%s/%s" % (homepath,tardir) -if (pathflag): +if pathflag: if not os.path.isdir(mscgpath): sys.exit("MS-CG path %s does not exist" % mscgpath) homedir = fullpath(mscgpath) diff --git a/lib/scafacos/Install.py b/lib/scafacos/Install.py index 91ab10e099..3bbda90478 100644 --- a/lib/scafacos/Install.py +++ b/lib/scafacos/Install.py @@ -60,7 +60,7 @@ version = args.version homepath = fullpath(".") scafacospath = "%s/scafacos-%s" % (homepath,version) -if (pathflag): +if pathflag: scafacospath = args.path if not os.path.isdir("%s/include" % scafacospath): sys.exit("ScaFaCoS include path for %s does not exist" % scafacospath) diff --git a/lib/smd/Install.py b/lib/smd/Install.py index c0db3e9a38..7e85582d99 100644 --- a/lib/smd/Install.py +++ b/lib/smd/Install.py @@ -63,7 +63,7 @@ buildflag = args.build pathflag = args.path != None version = args.version -if (pathflag): +if pathflag: eigenpath = args.path if not os.path.isdir(eigenpath): sys.exit("Eigen path %s does not exist" % eigenpath) eigenpath = fullpath(eigenpath) diff --git a/lib/voronoi/Install.py b/lib/voronoi/Install.py index 2312d22ea4..126327ed18 100644 --- a/lib/voronoi/Install.py +++ b/lib/voronoi/Install.py @@ -63,7 +63,7 @@ voropath = args.path homepath = fullpath(".") homedir = "%s/%s" % (homepath,version) -if (pathflag): +if pathflag: if not os.path.isdir(voropath): sys.exit("Voro++ path %s does not exist" % voropath) homedir = voropath