1 |
commit: 19ada4cea20b317fffcdd43c3d64e606f47d6607 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 24 12:42:13 2020 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 24 13:57:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=19ada4ce |
7 |
|
8 |
bin/layman: Add development code pythonpath insert |
9 |
|
10 |
Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org> |
11 |
|
12 |
bin/layman | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/bin/layman b/bin/layman |
16 |
index fbb793b..0c8f061 100755 |
17 |
--- a/bin/layman |
18 |
+++ b/bin/layman |
19 |
@@ -20,6 +20,12 @@ __version__ = "0.2" |
20 |
|
21 |
import os |
22 |
|
23 |
+# Used for running live development code only |
24 |
+#import sys |
25 |
+#print(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) |
26 |
+#sys.path.insert(0,os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) |
27 |
+ |
28 |
+ |
29 |
#=============================================================================== |
30 |
# |
31 |
# Dependencies |