From 184236baed614d77c7556a3210bbf2da415d4ecc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 16 Feb 2012 06:28:54 -0500 Subject: [PATCH] Add comma-delimiter to list of ignored file globs in Project.load_config(). --- update_copyright/project.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update_copyright/project.py b/update_copyright/project.py index faf5989..de8fbed 100644 --- a/update_copyright/project.py +++ b/update_copyright/project.py @@ -125,9 +125,11 @@ class Project (object): except _configparser.NoOptionError: pass try: - self._ignored_paths = p.get('files', 'ignored') + ignored = p.get('files', 'ignored') except _configparser.NoOptionError: pass + else: + self._ignored_paths = [p.strip() for p in ignored.split(',')] try: self._pyfile = p.get('files', 'pyfile') except _configparser.NoOptionError: -- 2.26.2