summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/selection.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/src/selection.py')
-rw-r--r--rdiff-backup/src/selection.py25
1 files changed, 17 insertions, 8 deletions
diff --git a/rdiff-backup/src/selection.py b/rdiff-backup/src/selection.py
index 05436c1..0dfa320 100644
--- a/rdiff-backup/src/selection.py
+++ b/rdiff-backup/src/selection.py
@@ -1,3 +1,20 @@
+# Copyright 2002 Ben Escoto
+#
+# This file is part of rdiff-backup.
+#
+# rdiff-backup is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, Inc., 675 Mass Ave, Cambridge MA
+# 02139, USA; either version 2 of the License, or (at your option) any
+# later version; incorporated herein by reference.
+
+"""Iterate exactly the requested files in a directory
+
+Parses includes and excludes to yield correct files. More
+documentation on what this code does can be found on the man page.
+
+"""
+
from __future__ import generators
import re
from log import *
@@ -5,14 +22,6 @@ from robust import *
from destructive_stepping import *
-#######################################################################
-#
-# selection - Provides the iterator-like DSRPIterator class
-#
-# Parses includes and excludes to yield correct files. More
-# documentation on what this code does can be found on the man page.
-#
-
class SelectError(Exception):
"""Some error dealing with the Select class"""
pass