Added proper syspath. Fixes #45079
authorkarltk <karltk@gentoo.org>
Fri, 10 Sep 2004 09:26:11 +0000 (09:26 -0000)
committerkarltk <karltk@gentoo.org>
Fri, 10 Sep 2004 09:26:11 +0000 (09:26 -0000)
svn path=/; revision=128

trunk/src/gensync/ChangeLog
trunk/src/gensync/gensync

index 834379262ed6758ad901a2926cf50de45129839f..35928fbb15def8c9de5953bb83dbfe1e44e079ef 100644 (file)
@@ -1,2 +1,6 @@
+2004-09-10 Karl Trygve Kalleberg <karltk@gentoo.org>
+       * Fixed portage import.
+
 2004-02-08 Karl Trygve Kalleberg <karltk@gentoo.org>
        * Initial import
+
index 99c696bc6c5713ce017d14a6448297b75dfc9d46..9d40be85815d935835730c22541ab852b2742612 100755 (executable)
@@ -16,10 +16,12 @@ __productname__ = "gensync"
 __description__ = "Gentoo Overlay Sync Tool"
 
 
-import fileinput
-import portage
 import sys
 import os
+import fileinput
+
+sys.path.insert(0, "/usr/lib/portage/pym")
+import portage
 from output import *
 
 class ConfigDefaults: