diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-19 19:16:57 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-19 19:16:57 +0200 |
commit | 66fe1de8368ba7e754fa6dad798bf351f3c3bf93 (patch) | |
tree | e1e410beeaa3264212f2760debfbcfeebd46c50d /yarns/900-local.yarn | |
parent | 3bc16ac24091009e73d9c4b9c2fbda0cdca6cff5 (diff) | |
download | ick2-66fe1de8368ba7e754fa6dad798bf351f3c3bf93.tar.gz |
Change: builds are now numbered foo/123, as are logs
Diffstat (limited to 'yarns/900-local.yarn')
-rw-r--r-- | yarns/900-local.yarn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/yarns/900-local.yarn b/yarns/900-local.yarn index 89652de..5e1b389 100644 --- a/yarns/900-local.yarn +++ b/yarns/900-local.yarn @@ -93,12 +93,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. IMPLEMENTS THEN controller state directory contains project (\S+) name = get_next_match() - filename = os.path.join(vars['statedir'], 'projects', name + '.yaml') + basename = encode_basename(name) + filename = os.path.join(vars['statedir'], 'projects', basename + '.yaml') assertTrue(os.path.exists(filename)) IMPLEMENTS THEN controller state directory contains worker (\S+) name = get_next_match() - filename = os.path.join(vars['statedir'], 'workers', name + '.yaml') + basename = encode_basename(name) + filename = os.path.join(vars['statedir'], 'workers', basename + '.yaml') assertTrue(os.path.exists(filename)) ## Start and stop blob service |