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