Commit 3526e087 authored by Igor Gnatenko's avatar Igor Gnatenko
parent 40d62647
...@@ -8,10 +8,10 @@ class ShouldBeFromDirective(object): ...@@ -8,10 +8,10 @@ class ShouldBeFromDirective(object):
known_directives = [] known_directives = []
def __init__(self, options_name, directive_name=None, dissallow=False): def __init__(self, options_name, directive_name=None, disallow=False):
self.options_name = options_name self.options_name = options_name
self.directive_name = directive_name or options_name self.directive_name = directive_name or options_name
self.dissallow = dissallow self.disallow = disallow
self.known_directives.append(self) self.known_directives.append(self)
def __nonzero__(self): def __nonzero__(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment