[LNT] r306745 - Fix error path after r306534
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 14:40:31 PDT 2017
Author: matze
Date: Thu Jun 29 14:40:31 2017
New Revision: 306745
URL: http://llvm.org/viewvc/llvm-project?rev=306745&view=rev
Log:
Fix error path after r306534
Modified:
lnt/trunk/lnt/lnttool/create.py
Modified: lnt/trunk/lnt/lnttool/create.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/create.py?rev=306745&r1=306744&r2=306745&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/create.py (original)
+++ lnt/trunk/lnt/lnttool/create.py Thu Jun 29 14:40:31 2017
@@ -137,7 +137,7 @@ LNT configuration.
basepath = os.path.abspath(instance_path)
if os.path.exists(basepath):
- raise SystemExit,"error: invalid path: %r already exists" % path
+ raise SystemExit,"error: invalid path: %r already exists" % basepath
hosturl = "http://%s/%s" % (hostname, hostsuffix)
More information about the llvm-commits
mailing list