SOURCES: gozerbot-switchuser.patch - oops, remove debug

glen glen at pld-linux.org
Thu Nov 6 00:04:40 CET 2008


Author: glen                         Date: Wed Nov  5 23:04:40 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- oops, remove debug

---- Files affected:
SOURCES:
   gozerbot-switchuser.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/gozerbot-switchuser.patch
diff -u SOURCES/gozerbot-switchuser.patch:1.1 SOURCES/gozerbot-switchuser.patch:1.2
--- SOURCES/gozerbot-switchuser.patch:1.1	Thu Nov  6 00:03:14 2008
+++ SOURCES/gozerbot-switchuser.patch	Thu Nov  6 00:04:34 2008
@@ -11,7 +11,7 @@
  vi = sys.version_info
  
  if vi[0] < 2 or (vi[0] == 2 and vi[1] < 4):
-@@ -40,10 +36,40 @@
+@@ -40,10 +36,37 @@
  parser.add_option('', '-r', type='string', default=False, dest='doresume', 
                    metavar='PATH', 
                    help="Resume the bot from the folder specified")
@@ -37,9 +37,6 @@
 +    for groupname, password, gidn, userlist in grp.getgrall():
 +        if opts.user in userlist:
 +            l.append(gidn)
-+    print l
-+    print gid
-+    print uid
 +    os.setgroups(l)
 +    os.setegid(gid);
 +    os.setuid(uid);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/gozerbot-switchuser.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list