Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into edge
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbardino committed Oct 23, 2024
2 parents 34d9974 + 709e86e commit bfd15d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mig/shared/useradm.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def _get_required_user_dir_links(configuration, real_dir, link_dir):
settings_dir = os.path.join(configuration.user_settings, real_dir)
cache_dir = os.path.join(configuration.user_cache, real_dir)
mrsl_dir = os.path.join(configuration.mrsl_files_dir, real_dir)
user_pending_dir = os.path.join(configuration.user_pending, real_dir)
res_pending_dir = os.path.join(configuration.resource_pending, real_dir)
if link_dir:
home_link = os.path.join(configuration.user_home, link_dir)
Expand All @@ -234,11 +233,9 @@ def _get_required_user_dir_links(configuration, real_dir, link_dir):
home_link = settings_link = cache_link = mrsl_link = False
res_pending_link = False

# No link in user pending as that is before user has UUID
user_pending_link = None
# No content or link in user pending as that is before user has UUID
dir_links = [(home_dir, home_link), (settings_dir, settings_link),
(cache_dir, cache_link), (mrsl_dir, mrsl_link),
(user_pending_dir, user_pending_link),
(res_pending_dir, res_pending_link)]
return dir_links

Expand Down

0 comments on commit bfd15d1

Please sign in to comment.