diff options
author | adityacp | 2018-05-24 12:37:54 +0530 |
---|---|---|
committer | adityacp | 2018-06-07 14:50:47 +0530 |
commit | 0adb0d3b79980544bb5a724ce3b106dbd8e01c9c (patch) | |
tree | 624a5947dc960a0283b606c244aeb470e94c3a57 /yaksh/models.py | |
parent | 97b657edc2a323f832c81f0e34ce5761bd21f7e9 (diff) | |
download | online_test-0adb0d3b79980544bb5a724ce3b106dbd8e01c9c.tar.gz online_test-0adb0d3b79980544bb5a724ce3b106dbd8e01c9c.tar.bz2 online_test-0adb0d3b79980544bb5a724ce3b106dbd8e01c9c.zip |
Further pep8 changes
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 648d0ca..43f39e9 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1035,7 +1035,7 @@ class Question(models.Model): new_test_case.type = test_case_type new_test_case.save() - except: + except Exception: msg = "File not correct." except Exception as exc_msg: msg = "Error Parsing Yaml: {0}".format(exc_msg) |