path: root/
diff options
authorJohannes Berg <>2013-04-04 01:52:41 +0200
committerJohannes Berg <>2013-04-04 01:52:52 +0200
commita426ccf78539ae33cc05f53b617e0e795fd3ff0c (patch)
tree3201aee1ba45a56ae06b3b2196b7b85383c1134b /
parentf9227077fe2908f189e4da88bfa8bc1ac17e02a4 (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 <>
Diffstat (limited to '')
1 files changed, 2 insertions, 2 deletions
diff --git a/ b/
index 375479d0..4a3f4241 100755
--- a/
+++ b/
@@ -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'))
# and import libraries we have
-import kconfig, git, patch, make
+from lib import kconfig, git, patch, make
def read_copy_list(copyfile):