if n == 'anonymous': # keep account, so remove from the have list
a.del_name(n)
continue
- m = re.match('[0-9a-z]+$', n)
+ m = re.match('[0-9a-z-]+$', n)
if not m: # weird name, probably has dots like weasel.admin etc.
a.del_name(n)
continue
want = load_expected()
have = load_existing()
- if not options.user in have.by_name:
+ if options.user not in have.by_name:
print >> sys.stderr, "Cannot find our user, '%s', in pts listentries"%(options.user)
sys.exit(1)
me = have.by_name[options.user]