incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [9/12] git commit: Allow allura_import.py to find the dependent libraries in ../Allura
Date Wed, 05 Dec 2012 20:01:51 GMT
Allow allura_import.py to find the dependent libraries in ../Allura


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/fac00c41
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/fac00c41
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/fac00c41

Branch: refs/heads/tv/5382
Commit: fac00c413d446a875000d11707755ccc6111b25b
Parents: 50cc989
Author: Jon Schewe <jpschewe@mtu.net>
Authored: Thu Nov 29 19:36:18 2012 -0600
Committer: Jon Schewe <jpschewe@mtu.net>
Committed: Thu Nov 29 19:36:18 2012 -0600

----------------------------------------------------------------------
 scripts/allura_import.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/fac00c41/scripts/allura_import.py
----------------------------------------------------------------------
diff --git a/scripts/allura_import.py b/scripts/allura_import.py
index f5b6cce..e90b07e 100644
--- a/scripts/allura_import.py
+++ b/scripts/allura_import.py
@@ -10,6 +10,9 @@ from optparse import OptionParser
 from pprint import pprint
 from datetime import datetime
 
+import os.path
+scriptDir=os.path.dirname(__file__)
+sys.path.append(os.path.join(scriptDir, '..', 'Allura'))
 from allura.lib.import_api import AlluraImportApiClient
 
 


Mime
View raw message