File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,10 @@ Version 4.4.17 of mod_wsgi can be obtained from:
9
9
For details on the availability of Windows binaries see:
10
10
11
11
https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32
12
+
13
+ Bugs Fixed
14
+ ----------
15
+
16
+ 1. If ``mod_wsgi-express `` was run under a user ID for which there was no
17
+ password entry in the system password file, it would fail when looking up
18
+ the user name. If this occurs now use ``#nnn `` as the default user name.
Original file line number Diff line number Diff line change @@ -50,7 +50,10 @@ def where():
50
50
return MOD_WSGI_SO
51
51
52
52
def default_run_user ():
53
- return pwd .getpwuid (os .getuid ()).pw_name
53
+ try :
54
+ return pwd .getpwuid (os .getuid ()).pw_name
55
+ except KeyError :
56
+ return '#%d' % os .getuid ()
54
57
55
58
def default_run_group ():
56
59
try :
You can’t perform that action at this time.
0 commit comments