1
0
forked from VimPlug/jedi

Fixed caching issues

Fixed exception raised during cache reading

Switched cache hashing to hashlib

In python 3.3 the hash function is returning different hashes during
different executions of the application.
This commit is contained in:
Aldo Stracquadanio
2013-03-23 23:07:17 +00:00
parent de849fbe8a
commit be8ef33b69
2 changed files with 3 additions and 2 deletions

View File

@@ -560,7 +560,7 @@ class Flow(Scope):
@parent.setter
def parent(self, value):
self._parent = value
if self.next:
if hasattr(self, "next") and self.next:
self.next.parent = value
def get_code(self, first_indent=False, indention=' '):