projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2984c52
)
* Remove the absolute path from the import script.
author
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Fri, 8 Feb 2008 20:50:09 +0000
(21:50 +0100)
committer
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Fri, 8 Feb 2008 20:50:09 +0000
(21:50 +0100)
import.py
patch
|
blob
|
history
diff --git
a/import.py
b/import.py
index d1d5e421a202d68a7c3c529d264aa5f5d99489a3..1e77c90b10123c1a1ea767af95b954666eba0d27 100644
(file)
--- a/
import.py
+++ b/
import.py
@@
-1,7
+1,7
@@
import sys
import os
-sys.path = sys.path + [
'/home/matthijs/docs/src/django'
]
+sys.path = sys.path + [
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
]
os.environ['DJANGO_SETTINGS_MODULE']='ee.settings'
import MySQLdb