gentree: remove pointless code
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 4 Apr 2013 00:11:09 +0000 (02:11 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Thu, 4 Apr 2013 00:11:18 +0000 (02:11 +0200)
There's no need to join a path with nothing ...

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
gentree.py

index 4a3f4241e2ed2340ffa76bb2fd4b2a9ef4d3811f..94d7e67ada1806c8bf47c37c7198f54c3d8e0fbe 100755 (executable)
@@ -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