minor change to reduce diffs in a future rev

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1913183 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tools/hook-scripts/mailer/mailer.py b/tools/hook-scripts/mailer/mailer.py
index 29b580d..6ec8762 100755
--- a/tools/hook-scripts/mailer/mailer.py
+++ b/tools/hook-scripts/mailer/mailer.py
@@ -837,7 +837,10 @@
     selection = lambda change: change.action == svn.repos.CHANGE_ACTION_DELETE
   elif changekind == 'M':
     selection = lambda change: change.action == svn.repos.CHANGE_ACTION_MODIFY
+  return _gather_paths(selection, changelist, paths, in_paths)
 
+
+def _gather_paths(selection, changelist, paths, in_paths):
   items = [ ]
   for path, change in changelist:
     if selection(change) and (path in paths) == in_paths: