Skip to content

Commit

Permalink
Make rpython happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fhahn committed Jul 28, 2013
1 parent 4640caf commit d43ee57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luna/modules/builtin.py
Expand Up @@ -45,9 +45,9 @@ def method_loadstring(args):
s = args[0].s_val
i = 0
filename = ''
name_tpl= '/tmp/luna{}.lua'
name_tpl= '/tmp/luna'
while True:
filename = name_tpl.format(i)
filename = "".join([name_tpl, str(i), ".lua"])
if not os.path.exists(filename):
break
i += 1
Expand Down

0 comments on commit d43ee57

Please sign in to comment.