]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
obsync: add missing package specifier to format_exc
authorMatthew Wodrich <matthew.wodrich@dreamhost.com>
Wed, 1 Aug 2012 02:13:03 +0000 (19:13 -0700)
committerDan Mick <dan.mick@inktank.com>
Thu, 16 Aug 2012 18:27:42 +0000 (11:27 -0700)
Fixes: #2873
Signed-off-by: Matthew Wodrich <matthew.wodrich@dreamhost.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
src/obsync/obsync

index 9536eab84db48c792f3a94e558b6ee96e08a3e8b..e1509c46f517dff892cd2bc709dd894e09f441d2 100755 (executable)
@@ -108,7 +108,7 @@ class ObsyncException(Exception):
             self.comment = e
         else:
             # from another exception
-            self.tb = format_exc(100000)
+            self.tb = traceback.format_exc(100000)
             self.comment = None
         self.ty = ty