Login
Preferences
Help/Guide
About Trac
SasView
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Reverse Diff
Changes in
run.py
[64ca561:168d359]
in sasview
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
File:
1 edited
run.py
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
run.py
r64ca561
r168d359
62
62
def import_package(modname, path):
63
63
"""Import a package into a particular point in the python namespace"""
64
logger.debug("Dynamicly importing: %s", path)
64
65
mod = imp.load_source(modname, abspath(joinpath(path,'__init__.py')))
65
66
sys.modules[modname] = mod
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive