Commit 5aeb7e8a by Stéphane Graber

lxc-start-ephemeral: fix pep-8 and pyflakes3

This defines a missing variable and re-indents the code a bit. Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent bcfe31d0
...@@ -220,6 +220,7 @@ LXC_NAME="%s" ...@@ -220,6 +220,7 @@ LXC_NAME="%s"
count = 0 count = 0
for entry in overlay_dirs: for entry in overlay_dirs:
tmpdir = "%s/tmpfs" % dest_path
deltdir = "%s/delta%s" % (tmpdir, count) deltdir = "%s/delta%s" % (tmpdir, count)
workdir = "%s/work%s" % (tmpdir, count) workdir = "%s/work%s" % (tmpdir, count)
fd.write("mkdir -p %s %s\n" % (deltdir, entry[1])) fd.write("mkdir -p %s %s\n" % (deltdir, entry[1]))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment