summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authoradityacp2018-05-24 12:37:54 +0530
committeradityacp2018-06-07 14:50:47 +0530
commit0adb0d3b79980544bb5a724ce3b106dbd8e01c9c (patch)
tree624a5947dc960a0283b606c244aeb470e94c3a57 /yaksh/models.py
parent97b657edc2a323f832c81f0e34ce5761bd21f7e9 (diff)
downloadonline_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.py2
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)