diff options
author | harlowja <harlowja@virtualbox.rhel> | 2012-06-23 15:06:26 -0700 |
---|---|---|
committer | harlowja <harlowja@virtualbox.rhel> | 2012-06-23 15:06:26 -0700 |
commit | a75e77a8a5b03294eb79dec5d8d1d8e3bf9ba7c1 (patch) | |
tree | 0d352e76dbe8d6315e7b7d58704c178604e35fd9 /cloudinit/config/cc_resizefs.py | |
parent | 4e938eef6581769c086e417a24206274f26b8a95 (diff) | |
parent | a0f42d8f96248d519e70a86e470868616dea3d6e (diff) | |
download | vyos-cloud-init-a75e77a8a5b03294eb79dec5d8d1d8e3bf9ba7c1.tar.gz vyos-cloud-init-a75e77a8a5b03294eb79dec5d8d1d8e3bf9ba7c1.zip |
Fix a bunch of == None cases
Diffstat (limited to 'cloudinit/config/cc_resizefs.py')
-rw-r--r-- | cloudinit/config/cc_resizefs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_resizefs.py b/cloudinit/config/cc_resizefs.py index 7e1428e9..69cd8872 100644 --- a/cloudinit/config/cc_resizefs.py +++ b/cloudinit/config/cc_resizefs.py @@ -79,8 +79,8 @@ def handle(name, cfg, cloud, log, args): # TODO: allow what is to be resized to be configurable?? resize_what = cloud.paths.join(False, "/") - with util.SilentTemporaryFile(prefix="cloudinit.resizefs.", - dir=resize_root_d, delete=True) as tfh: + with util.ExtendedTemporaryFile(prefix="cloudinit.resizefs.", + dir=resize_root_d, delete=True) as tfh: devpth = tfh.name # Delete the file so that mknod will work |