1
0
forked from VimPlug/jedi

small internal change for Script, _source_path to _orig_path

This commit is contained in:
Dave Halter
2014-03-17 08:58:03 +01:00
parent 1d95a987c4
commit aca7668da6

View File

@@ -65,7 +65,7 @@ class Script(object):
if source_path is not None:
warnings.warn("Use path instead of source_path.", DeprecationWarning)
path = source_path
self._source_path = path
self._orig_path = path
self.path = None if path is None else os.path.abspath(path)
if source is None:
@@ -104,7 +104,7 @@ class Script(object):
return self.path
def __repr__(self):
return '<%s: %s>' % (self.__class__.__name__, repr(self._source_path))
return '<%s: %s>' % (self.__class__.__name__, repr(self._orig_path))
def completions(self):
"""