Merge "Keep the Usage of exit()/sys.exit() Consistent"

This commit is contained in:
Jenkins 2016-02-18 14:26:49 +00:00 committed by Gerrit Code Review
commit ebe61381c2
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ Lists old Swift processes.
listing.append((str(hours), pid, args)) listing.append((str(hours), pid, args))
if not listing: if not listing:
exit() sys.exit()
hours_len = len('Hours') hours_len = len('Hours')
pid_len = len('PID') pid_len = len('PID')

View File

@ -93,7 +93,7 @@ Example (sends SIGTERM to all orphaned Swift processes older than two hours):
listing.append((str(hours), pid, args)) listing.append((str(hours), pid, args))
if not listing: if not listing:
exit() sys.exit()
hours_len = len('Hours') hours_len = len('Hours')
pid_len = len('PID') pid_len = len('PID')