summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2013-04-04 02:11:09 +0200
committerJohannes Berg <johannes@sipsolutions.net>2013-04-04 02:11:18 +0200
commitf0f61f73f8eb1343295aca85063e4296a0df8d57 (patch)
treee64bb0206409f2d545457439eb8400a31ae06b8a
parenta426ccf78539ae33cc05f53b617e0e795fd3ff0c (diff)
gentree: remove pointless code
There's no need to join a path with nothing ... Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
-rwxr-xr-xgentree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentree.py b/gentree.py
index 4a3f4241..94d7e67a 100755
--- a/gentree.py
+++ b/gentree.py
@@ -7,7 +7,7 @@ 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))
+sys.path.append(source_dir)
# and import libraries we have
from lib import kconfig, git, patch, make