Correct variables masquerading as strings

* jeepyb/cmd/create_cgitrepos.py: Brown bag fix for variables in
sheep's clothing.

Change-Id: I851e8a09b4ebf35c30c791c4b5d630f710cf36f9
This commit is contained in:
Jeremy Stanley 2014-01-08 06:29:58 +00:00
parent 9c3c2cfd3f
commit a4dbb01c8a

View File

@ -50,7 +50,7 @@ def main():
gitorgs.setdefault(org, []).append((name, description))
if SCRATCH_SUBPATH:
assert SCRATCH_SUBPATH not in gitorgs
scratch_path = os.path.join('REPO_PATH', 'SCRATCH_SUBPATH')
scratch_path = os.path.join(REPO_PATH, SCRATCH_SUBPATH)
for org in gitorgs:
scratch_dir = os.path.join(scratch_path, org)
if not os.path.isdir(scratch_dir):