File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -534,11 +534,11 @@ def get_rule_options(self):
534
534
if extension_config :
535
535
after_mapping_hook_text = extension_config .get_string ('after_mapping_hook' )
536
536
options ['after_mapping_hook' ] = compile (after_mapping_hook_text , '<per-user after-mapping-hook>' , 'exec' )
537
- options ['extended_attributes' ] = extension_config .get_list ('extended_attributes' )
537
+ options ['extended_attributes' ] = extension_config .get_list ('extended_attributes' , True ) or []
538
538
# declaration of extended adobe groups: this is needed for two reasons:
539
539
# 1. it allows validation of group names, and matching them to adobe groups
540
540
# 2. it allows removal of adobe groups not assigned by the hook
541
- for extended_adobe_group in extension_config .get_list ('extended_adobe_groups' ) :
541
+ for extended_adobe_group in extension_config .get_list ('extended_adobe_groups' , True ) or [] :
542
542
group = user_sync .rules .AdobeGroup .create (extended_adobe_group )
543
543
if group is None :
544
544
message = 'Extension contains illegal extended_adobe_group spec: ' + str (extended_adobe_group )
You can’t perform that action at this time.
0 commit comments