summaryrefslogtreecommitdiff
path: root/testapp/exam/language_registry.py
diff options
context:
space:
mode:
authorankitjavalkar2015-04-26 21:13:53 +0530
committerankitjavalkar2015-04-26 21:13:53 +0530
commit18df6d88a2e1a9dfe7d05ca97b2d69ff0569e088 (patch)
tree3a12a2497964c26f3750d81cf04e7953e795514a /testapp/exam/language_registry.py
parent8664a766406d6acf0d6a1688948153c407ea27f2 (diff)
downloadonline_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.py7
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()