/[webwml]/newmaint/bin/gpg_remove_user
ViewVC logotype

Diff of /newmaint/bin/gpg_remove_user

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by tbm, Mon Nov 25 21:13:51 2002 UTC revision 1.3 by tbm, Mon Nov 25 21:39:03 2002 UTC
# Line 59  def remove_user(db, email): Line 59  def remove_user(db, email):
59  removals = parse_args()  removals = parse_args()
60  db = pg.connect(Cnf["MyDB"])  db = pg.connect(Cnf["MyDB"])
61  for email in removals:  for email in removals:
62      remove_user(db, email)      if gpg_utils.find_email(db, email):
63            remove_user(db, email)
64        else:
65            print "No user with the email address %s" % email
66    
67  # vim:set ts=4:  # vim:set ts=4:
68  # vim:set expandtab:  # vim:set expandtab:

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.5