diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-04-03 13:52:35 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-04-03 13:52:35 +0300 |
commit | 38510b7a7c26a992af7324ee2f2d4e26ff695607 (patch) | |
tree | a5cda6326418072b894d6a356ad43376bdaea66a /obnamlib/plugins/exclude_pathnames_plugin.py | |
parent | c54f87a63121e0828313739c4a557c50f1fd3691 (diff) | |
download | obnam-38510b7a7c26a992af7324ee2f2d4e26ff695607.tar.gz |
Move --one-file-system into a plugin
Diffstat (limited to 'obnamlib/plugins/exclude_pathnames_plugin.py')
-rw-r--r-- | obnamlib/plugins/exclude_pathnames_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/exclude_pathnames_plugin.py b/obnamlib/plugins/exclude_pathnames_plugin.py index 8b19985f..1bdf19be 100644 --- a/obnamlib/plugins/exclude_pathnames_plugin.py +++ b/obnamlib/plugins/exclude_pathnames_plugin.py @@ -56,7 +56,7 @@ class ExcludePathnamesPlugin(obnamlib.ObnamPlugin): self.compile_exclusion_patterns() self.compile_inclusion_patterns() - def exclude(self, fs=None, pathname=None, stat_result=None, exclude=None): + def exclude(self, pathname=None, stat_result=None, exclude=None, **kwargs): is_excluded, regexp = self.pathname_excluder.exclude(pathname) if is_excluded: logging.debug('Exclude (pattern): %s', pathname) |