Commit 23374297 authored by Kedar A.'s avatar Kedar A. 💻

Fixed exception syntax error in models.node

parent 1deba9e3
......@@ -571,7 +571,7 @@ class Node(DjangoDocument):
# print "=== removed ", each_invalid_field, ' : ',
except Exception, e:
except Exception as e:
print e
pass
......@@ -615,7 +615,7 @@ class Node(DjangoDocument):
for each_invalid_field in invalid_fields:
if each_invalid_field in self_keys:
self.pop(each_invalid_field)
except Exception, e:
except Exception as e:
print "\nError while processing invalid fields: ", e
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment