Skip to content

Commit

Permalink
management/file_import: invalidate linecache if needed
Browse files Browse the repository at this point in the history
sbourdeauducq committed Jan 7, 2015
1 parent c117089 commit b63b467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions artiq/management/file_import.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import importlib.machinery
import linecache


def file_import(filename):
linecache.checkcache(filename)

modname = filename
i = modname.rfind("/")
if i > 0:

0 comments on commit b63b467

Please sign in to comment.