diff options
author | ankitjavalkar | 2016-03-29 19:00:12 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-05-05 19:00:33 +0530 |
commit | e8e6b4bc35c7d012d9c41fb37d91687eb605b56c (patch) | |
tree | 2f0488eaed410e23a5d0e0a18b9bdae1e2b2f2d1 /yaksh/language_registry.py | |
parent | 1f4542cdbea66899899b9c7de3ea38e39d794112 (diff) | |
download | online_test-e8e6b4bc35c7d012d9c41fb37d91687eb605b56c.tar.gz online_test-e8e6b4bc35c7d012d9c41fb37d91687eb605b56c.tar.bz2 online_test-e8e6b4bc35c7d012d9c41fb37d91687eb605b56c.zip |
- Refactor Scilab, Bash, Java and C
- Add Test Cases to reflect refactoring changes
- Fix language registry
- Add test case for language registry
- Fix register in settings
- Keep snippet field for now
Diffstat (limited to 'yaksh/language_registry.py')
-rw-r--r-- | yaksh/language_registry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/language_registry.py b/yaksh/language_registry.py index 512e2f5..3205279 100644 --- a/yaksh/language_registry.py +++ b/yaksh/language_registry.py @@ -48,7 +48,7 @@ class _LanguageRegistry(object): get_class = getattr(get_module, class_name) return get_class - def register(self, language, class_name): + def register(self, language, class_names): """ Register a new code evaluator class for language""" - self._register[language] = class_name + self._register[language] = class_names |