Show More
@@ -8,9 +8,8 b' the GNU General Public License version 2' | |||||
8 | reference. |
|
8 | reference. | |
9 | """ |
|
9 | """ | |
10 |
|
10 | |||
11 | import util |
|
|||
12 | from i18n import _ |
|
11 | from i18n import _ | |
13 | import errno, msvcrt, os, osutil, re, sys |
|
12 | import errno, msvcrt, os, osutil, re, sys, error | |
14 | nulldev = 'NUL:' |
|
13 | nulldev = 'NUL:' | |
15 |
|
14 | |||
16 | umask = 002 |
|
15 | umask = 002 | |
@@ -228,7 +227,7 b' def statfiles(files):' | |||||
228 |
|
227 | |||
229 | def getuser(): |
|
228 | def getuser(): | |
230 | '''return name of current user''' |
|
229 | '''return name of current user''' | |
231 |
raise |
|
230 | raise error.Abort(_('user name not available - set USERNAME ' | |
232 | 'environment variable')) |
|
231 | 'environment variable')) | |
233 |
|
232 | |||
234 | def username(uid=None): |
|
233 | def username(uid=None): |
General Comments 0
You need to be logged in to leave comments.
Login now