summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Bcfg2/Server/Plugin/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugin/helpers.py b/src/lib/Bcfg2/Server/Plugin/helpers.py
index 5922df51e..acf6af1f8 100644
--- a/src/lib/Bcfg2/Server/Plugin/helpers.py
+++ b/src/lib/Bcfg2/Server/Plugin/helpers.py
@@ -32,7 +32,7 @@ DEFAULT_FILE_METADATA = Bcfg2.Options.OptionParser(dict(
important=Bcfg2.Options.MDATA_IMPORTANT,
paranoid=Bcfg2.Options.MDATA_PARANOID,
sensitive=Bcfg2.Options.MDATA_SENSITIVE))
-DEFAULT_FILE_METADATA.parse([])
+DEFAULT_FILE_METADATA.parse(sys.argv[1:])
del DEFAULT_FILE_METADATA['args']
LOGGER = logging.getLogger(__name__)