diff options
author | ankitjavalkar | 2015-04-26 21:13:53 +0530 |
---|---|---|
committer | ankitjavalkar | 2015-04-26 21:13:53 +0530 |
commit | 18df6d88a2e1a9dfe7d05ca97b2d69ff0569e088 (patch) | |
tree | 3a12a2497964c26f3750d81cf04e7953e795514a /testapp/exam/language_registry.py | |
parent | 8664a766406d6acf0d6a1688948153c407ea27f2 (diff) | |
download | online_test-18df6d88a2e1a9dfe7d05ca97b2d69ff0569e088.tar.gz online_test-18df6d88a2e1a9dfe7d05ca97b2d69ff0569e088.tar.bz2 online_test-18df6d88a2e1a9dfe7d05ca97b2d69ff0569e088.zip |
Make PEP8 consistent
Diffstat (limited to 'testapp/exam/language_registry.py')
-rw-r--r-- | testapp/exam/language_registry.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testapp/exam/language_registry.py b/testapp/exam/language_registry.py index 207cd21..4d56de2 100644 --- a/testapp/exam/language_registry.py +++ b/testapp/exam/language_registry.py @@ -1,16 +1,17 @@ #!/usr/bin/env python + class LanguageRegistry(object): def __init__(self): self._registry = {} - ## Public Protocol ########## + # Public Protocol ########## def get_class(self, language): return self._registry[language] - ## Public Protocol ########## + # Public Protocol ########## def register(self, language, cls): self._registry[language] = cls -registry = LanguageRegistry()
\ No newline at end of file +registry = LanguageRegistry() |