Roundup Tracker - Issues

Message1922

Author greenrd
Recipients
Date 2005-03-27.11:41:56
Message-id
In-reply-to
This is a patch against 0.8.2 (against the installed
module) to make the -g option work - there was a stray
"not" which was preventing it from working:

--- roundup/scripts/roundup_server.py.orig     
2005-03-27 12:34:29.000000000 +0100
+++ roundup/scripts/roundup_server.py   2005-03-27
12:34:43.000000000 +0100
@@ -251,8 +251,7 @@
     if not hasattr(os, 'setgid'):
         return

-    # if root, setgid to the running user
-    if not os.getuid():
+    if os.getuid():
         print _('WARNING: ignoring "-g" argument, not
root')
         return

History
Date User Action Args
2009-02-03 14:21:17adminlinkissue1171346 messages
2009-02-03 14:21:17admincreate