More portage_const -> portage.const. This has obviously never been
authorFabian Groffen <grobian@gentoo.org>
Tue, 10 Apr 2007 16:03:57 +0000 (16:03 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 10 Apr 2007 16:03:57 +0000 (16:03 -0000)
tried before.

svn path=/main/branches/prefix/; revision=6370

pym/portage/dispatch_conf.py

index 4f53d4d55f098309c7f3875eb5fb7337d6a264ff..a8ca2b12261bd7d2707695a4d6454a8c57380a5a 100644 (file)
@@ -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: