From 4ba290bac19b1b6e8f709848fd35cda33b8bd1c4 Mon Sep 17 00:00:00 2001 From: Qiaowei Ren Date: Mon, 1 Feb 2016 16:44:52 +0800 Subject: [PATCH] Replace exit() by sys.exit() sys.exit() is considered good to use here. Change-Id: I365b0dbb50c8f1953b41665ba49145ac6db1b24f --- swift/common/internal_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/common/internal_client.py b/swift/common/internal_client.py index 8aaff72eb6..2413d9ad6d 100644 --- a/swift/common/internal_client.py +++ b/swift/common/internal_client.py @@ -20,7 +20,7 @@ import six from six.moves import range from six.moves import urllib import struct -from sys import exc_info +from sys import exc_info, exit import zlib from swift import gettext_ as _ from time import gmtime, strftime, time