Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (15 sloc) 459 Bytes
#!/usr/bin/env python
import argparse
import sys
from access import db
from access.models import User
parser = argparse.ArgumentParser()
parser.add_argument("email", help="Email of user to remove.")
args = parser.parse_args()
user = User.query.filter_by(
if not user:
print "User not found"
print "Removing user %s <%s> = %d" % (,, user.key_id)
Jump to Line
Something went wrong with that request. Please try again.