diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-07-20 19:52:20 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-07-20 20:02:54 +0200 |
commit | 9f981e0a34a60075dce186067b1e1e1e716a8192 (patch) | |
tree | 8508aed946e29cfa68a6ad66f32d13f3b6ef6b00 /tools | |
parent | 061640050936bd35e1d21aa44bc47237cca9a0f4 (diff) | |
download | bcfg2-9f981e0a34a60075dce186067b1e1e1e716a8192.tar.gz bcfg2-9f981e0a34a60075dce186067b1e1e1e716a8192.tar.bz2 bcfg2-9f981e0a34a60075dce186067b1e1e1e716a8192.zip |
tools: components of a Options parser sould be a list
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/upgrade/1.3/migrate_perms_to_mode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade/1.3/migrate_perms_to_mode.py b/tools/upgrade/1.3/migrate_perms_to_mode.py index 42fe2e1a8..c825c84d2 100755 --- a/tools/upgrade/1.3/migrate_perms_to_mode.py +++ b/tools/upgrade/1.3/migrate_perms_to_mode.py @@ -64,7 +64,7 @@ def main(): parser = Bcfg2.Options.get_parser( description="Migrate from Bcfg2 1.2 'perms' attribute to 1.3 'mode' " "attribute", - components=FileMonitor) + components=[FileMonitor]) parser.add_options([Bcfg2.Options.Common.repository, Bcfg2.Options.Common.plugins]) parser.parse() |