Skip to content
Snippets Groups Projects

Addressed issue #96; Refactoring whitelist into allowlist

Closed Addressed issue #96; Refactoring whitelist into allowlist
2 unresolved threads
Closed Brolf requested to merge Brolf/mat2:#96 into master
2 unresolved threads

#96 (closed): Just refactored whitelist into allowlist to get a look at the code.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
89 89 r'^word/theme',
90 90 r'^word/people\.xml$',
91 91
92 # we have a whitelist in self.files_to_keep,
92 # we have a allowlist in self.files_to_keep,
  • jvoisin
    jvoisin @jvoisin started a thread on the diff
  • 220 220 for file_to_omit in self.files_to_omit:
    221 221 if file_to_omit.search(fname):
    222 222 matches = map(lambda r: r.search(fname), self.files_to_keep)
    223 if any(matches): # the file is whitelisted
    223 if any(matches): # the file is on the allowlist
  • assigned to @jvoisin

  • closed

  • georg mentioned in merge request !35 (merged)

    mentioned in merge request !35 (merged)

  • Please register or sign in to reply
    Loading