diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-06-13 14:58:05 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-06-13 14:58:05 -0400 |
commit | a03fde3ea32d3eb2cadb443454749111dda1797f (patch) | |
tree | 6984ab73962c8384905915da6c0a26d77778f3a3 /src/lib/Bcfg2/Server/Plugins/Metadata.py | |
parent | fbf6edf62b7b105abb467ef5cb9254eb8f5396c6 (diff) | |
download | bcfg2-a03fde3ea32d3eb2cadb443454749111dda1797f.tar.gz bcfg2-a03fde3ea32d3eb2cadb443454749111dda1797f.tar.bz2 bcfg2-a03fde3ea32d3eb2cadb443454749111dda1797f.zip |
do not create data directories for plugins that don't need them
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Metadata.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Metadata.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Metadata.py b/src/lib/Bcfg2/Server/Plugins/Metadata.py index 3b8361c76..4ed3dede5 100644 --- a/src/lib/Bcfg2/Server/Plugins/Metadata.py +++ b/src/lib/Bcfg2/Server/Plugins/Metadata.py @@ -40,6 +40,8 @@ if HAS_DJANGO: """ dict-like object to make it easier to access client bcfg2 versions from the database """ + create = False + def __getitem__(self, key): try: return MetadataClientModel.objects.get(hostname=key).version |