Mercurial > hg
changeset 7934:ec4784bb7d75
windows: break import cycle with util
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Thu, 02 Apr 2009 18:04:42 +0200 |
parents | 5325596c354c |
children | 39566bb99a9c |
files | mercurial/windows.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/windows.py Thu Apr 02 17:09:17 2009 +0200 +++ b/mercurial/windows.py Thu Apr 02 18:04:42 2009 +0200 @@ -8,7 +8,7 @@ reference. """ -from util import Abort +import util from i18n import _ import errno, msvcrt, os, osutil, re, sys nulldev = 'NUL:' @@ -228,8 +228,8 @@ def getuser(): '''return name of current user''' - raise Abort(_('user name not available - set USERNAME ' - 'environment variable')) + raise util.Abort(_('user name not available - set USERNAME ' + 'environment variable')) def username(uid=None): """Return the name of the user with the given uid.