From: karltk Date: Fri, 10 Sep 2004 09:26:11 +0000 (-0000) Subject: Added proper syspath. Fixes #45079 X-Git-Tag: gentoolkit-0.2.4.3~374 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b7b63e3c48e3630a60ff71bc075bc8e4cd08d3e;p=gentoolkit.git Added proper syspath. Fixes #45079 svn path=/; revision=128 --- diff --git a/trunk/src/gensync/ChangeLog b/trunk/src/gensync/ChangeLog index 8343792..35928fb 100644 --- a/trunk/src/gensync/ChangeLog +++ b/trunk/src/gensync/ChangeLog @@ -1,2 +1,6 @@ +2004-09-10 Karl Trygve Kalleberg + * Fixed portage import. + 2004-02-08 Karl Trygve Kalleberg * Initial import + diff --git a/trunk/src/gensync/gensync b/trunk/src/gensync/gensync index 99c696b..9d40be8 100755 --- a/trunk/src/gensync/gensync +++ b/trunk/src/gensync/gensync @@ -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: