diff options
author | Sankar Tanguturi <stanguturi@stanguturi-rhel> | 2016-02-16 17:34:24 -0800 |
---|---|---|
committer | Sankar Tanguturi <stanguturi@stanguturi-rhel> | 2016-02-16 17:34:24 -0800 |
commit | 0ce71cb8975e19677eea415101e15da5f4095cd5 (patch) | |
tree | 7ba79660baedc87c86b6b9e98f9d13ce5a576367 /cloudinit/sources/helpers/vmware/imc/config_file.py | |
parent | 39f668e5db8d09c46eee3a5df73a69f8d85ba489 (diff) | |
download | vyos-cloud-init-0ce71cb8975e19677eea415101e15da5f4095cd5.tar.gz vyos-cloud-init-0ce71cb8975e19677eea415101e15da5f4095cd5.zip |
- Used proper 4 space indentations for config_nic.py and nic.py
- Implemented the 'search_file' function using 'os.walk()'
- Fixed few variable names.
- Removed size() function in config_file.py
- Updated the test_config_file.py to use len() instead of .size()
Diffstat (limited to 'cloudinit/sources/helpers/vmware/imc/config_file.py')
-rw-r--r-- | cloudinit/sources/helpers/vmware/imc/config_file.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cloudinit/sources/helpers/vmware/imc/config_file.py b/cloudinit/sources/helpers/vmware/imc/config_file.py index 7c47d14c..bb9fb7dc 100644 --- a/cloudinit/sources/helpers/vmware/imc/config_file.py +++ b/cloudinit/sources/helpers/vmware/imc/config_file.py @@ -61,10 +61,6 @@ class ConfigFile(ConfigSource, dict): self[key] = val - def size(self): - """Return the number of properties present.""" - return len(self) - def _loadConfigFile(self, filename): """ Parses properties from the specified config file. |