diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2013-04-04 01:52:41 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2013-04-04 01:52:52 +0200 |
commit | a426ccf78539ae33cc05f53b617e0e795fd3ff0c (patch) | |
tree | 3201aee1ba45a56ae06b3b2196b7b85383c1134b /gentree.py | |
parent | f9227077fe2908f189e4da88bfa8bc1ac17e02a4 (diff) |
gentree: make lib directory a python module
That will make it easier to use gentree and/or git
helpers from other scripts.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'gentree.py')
-rwxr-xr-x | gentree.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,9 +7,9 @@ import argparse, sys, os, errno, shutil, re, subprocess # find self source_dir = os.path.abspath(os.path.dirname(__file__)) -sys.path.append(os.path.join(source_dir, 'lib')) +sys.path.append(os.path.join(source_dir)) # and import libraries we have -import kconfig, git, patch, make +from lib import kconfig, git, patch, make def read_copy_list(copyfile): |