From: W. Trevor King Date: Thu, 16 Feb 2012 11:28:54 +0000 (-0500) Subject: Add comma-delimiter to list of ignored file globs in Project.load_config(). X-Git-Tag: v0.2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=184236baed614d77c7556a3210bbf2da415d4ecc;p=update-copyright.git Add comma-delimiter to list of ignored file globs in Project.load_config(). --- 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: