diff options
author | dol-sen <brian.dolbec@gmail.com> | 2011-09-18 21:31:33 -0700 |
---|---|---|
committer | dol-sen <brian.dolbec@gmail.com> | 2011-09-18 21:31:33 -0700 |
commit | 658f794a3a7675bba9d746d1a17ee0e0a95ee400 (patch) | |
tree | b2742f8f9224281b6db7e132d8aaedb4a9c91bea | |
parent | 22364beaf81bec677c72cc58a385a57be07565a0 (diff) | |
download | layman-658f794a3a7675bba9d746d1a17ee0e0a95ee400.tar.gz layman-658f794a3a7675bba9d746d1a17ee0e0a95ee400.tar.bz2 layman-658f794a3a7675bba9d746d1a17ee0e0a95ee400.zip |
fix unknown variable
-rw-r--r-- | layman/dbbase.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layman/dbbase.py b/layman/dbbase.py index a31ced9..ccd5806 100644 --- a/layman/dbbase.py +++ b/layman/dbbase.py @@ -86,6 +86,7 @@ class DbBase(object): self.paths = paths self.ignore = ignore self.output = config['output'] + self.ignore_init_read_errors = ignore_init_read_errors self.overlays = {} @@ -116,7 +117,7 @@ class DbBase(object): document = open(path, 'r').read() except Exception, error: - if not ignore_init_read_errors: + if not self.ignore_init_read_errors: self.output.error('Failed to read the overlay list at ("' + path + '")') raise error |