python2.5 compatibillity

This commit is contained in:
David Halter
2012-04-09 18:47:47 +02:00
parent b8f6f2267b
commit f0c00e4ff7
6 changed files with 17 additions and 10 deletions

View File

@@ -11,8 +11,8 @@ f_name = 'test.py'
import os
path = os.getcwd() + '/' + f_name
with open(path) as f:
code = f.read()
f = open(path)
code = f.read()
for i in range(1):
completions = functions.complete(code, 150, 200, path)