Permalink
Browse files

Simplify how empty config_values is handled

  • Loading branch information...
1 parent 183239c commit 0fe76627bf7c1e6131d4a4a6a9149d5860407e74 @edavis committed Jan 5, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 core/parsers/mention.py
View
@@ -7,12 +7,11 @@
class Mention(object):
def __init__(self, line):
self.line = line
- self.has_config = False
+ self.config = Config()
if hasattr(self, 'url'):
- self.config = Config()
self.config_values = self.config.find_config_values(self.url)
- if self.config_values is not None:
- self.has_config = "skip" not in self.config_values
+ else:
+ self.config_values = {}
def date(self):
return ""

0 comments on commit 0fe7662

Please sign in to comment.