From: Fabian Groffen Date: Tue, 10 Apr 2007 16:03:57 +0000 (-0000) Subject: More portage_const -> portage.const. This has obviously never been X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c262358d4a4e6b9cdf64068ea74ee23affe782fc;p=portage.git More portage_const -> portage.const. This has obviously never been tried before. svn path=/main/branches/prefix/; revision=6370 --- diff --git a/pym/portage/dispatch_conf.py b/pym/portage/dispatch_conf.py index 4f53d4d55..a8ca2b122 100644 --- a/pym/portage/dispatch_conf.py +++ b/pym/portage/dispatch_conf.py @@ -10,7 +10,7 @@ from stat import * import os, sys, commands, shutil -import portage, portage_const +import portage, portage.const RCS_BRANCH = '1.1.1' RCS_LOCK = 'rcs -ko -M -l' @@ -22,12 +22,12 @@ DIFF3_MERGE = 'diff3 -mE %s %s %s >%s' def read_config(mandatory_opts): try: - opts = portage.getconfig(portage_const.EPREFIX+'/etc/dispatch-conf.conf') + opts = portage.getconfig(portage.const.EPREFIX+'/etc/dispatch-conf.conf') except: opts = None if not opts: - print >> sys.stderr, 'dispatch-conf: Error reading '+portage_const.EPREFIX+'/etc/dispatch-conf.conf; fatal' + print >> sys.stderr, 'dispatch-conf: Error reading '+portage.const.EPREFIX+'/etc/dispatch-conf.conf; fatal' sys.exit(1) for key in mandatory_opts: