From 28bff36b814a30c07e7ff67d896edd0d3562416f Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 27 Aug 2012 09:55:06 +0800 Subject: [PATCH] Remove redefinition of import traceback Removed the redefinition of import in swift/object/server.py Add my name in AUTHORS Change-Id: Ia74df662de08fc52b92b828978d96a22b5df5597 --- AUTHORS | 1 + swift/obj/server.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 2f7d745c5c..f37170f750 100644 --- a/AUTHORS +++ b/AUTHORS @@ -79,3 +79,4 @@ Doug Weimer (dweimer@gmail.com) Cory Wright (cory.wright@rackspace.com) Ye Jia Xu (xyj.asmy@gmail.com) Pete Zaitcev (zaitcev@kotori.zaitcev.us) +Alex Yang (alex890714@gmail.com) diff --git a/swift/obj/server.py b/swift/obj/server.py index d9d96958cc..ea4fe07d40 100644 --- a/swift/obj/server.py +++ b/swift/obj/server.py @@ -230,7 +230,6 @@ class DiskFile(object): if verify_file: self._handle_close_quarantine() except (Exception, Timeout), e: - import traceback self.logger.error(_('ERROR DiskFile %(data_file)s in ' '%(data_dir)s close failure: %(exc)s : %(stack)'), {'exc': e, 'stack': ''.join(traceback.format_stack()),