##// END OF EJS Templates
windows: break import cycle with util
Martin Geisler -
r7934:ec4784bb default
parent child Browse files
Show More
@@ -8,7 +8,7 b' the GNU General Public License version 2'
8 reference.
8 reference.
9 """
9 """
10
10
11 from util import Abort
11 import util
12 from i18n import _
12 from i18n import _
13 import errno, msvcrt, os, osutil, re, sys
13 import errno, msvcrt, os, osutil, re, sys
14 nulldev = 'NUL:'
14 nulldev = 'NUL:'
@@ -228,8 +228,8 b' def statfiles(files):'
228
228
229 def getuser():
229 def getuser():
230 '''return name of current user'''
230 '''return name of current user'''
231 raise Abort(_('user name not available - set USERNAME '
231 raise util.Abort(_('user name not available - set USERNAME '
232 'environment variable'))
232 'environment variable'))
233
233
234 def username(uid=None):
234 def username(uid=None):
235 """Return the name of the user with the given uid.
235 """Return the name of the user with the given uid.
General Comments 0
You need to be logged in to leave comments. Login now