Skip to content

Commit 99a0a7c

Browse files
committed
roundup-reminder add exit on wrong args, fix comment typo.
1 parent 6a16728 commit 99a0a7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/roundup-reminder

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ from roundup.mailer import Mailer
3737
# open the instance
3838
if len(sys.argv) != 2:
3939
print('You need to specify an instance home dir')
40+
sys.exit()
41+
4042
instance_home = sys.argv[1]
4143
instance = instance.open(instance_home)
4244
db = instance.open('admin')
@@ -69,7 +71,7 @@ def listKey(x):
6971

7072
# loop through all the users
7173
for user_id in db.user.list():
72-
# make sure we care aboue this user
74+
# make sure we care about this user
7375
name = db.user.get(user_id, 'realname')
7476
if name is None:
7577
name = db.user.get(user_id, 'username')

0 commit comments

Comments
 (0)