--- a/src/modules/misc.py Wed Jan 04 22:27:21 2017 -0800
+++ b/src/modules/misc.py Fri Jan 06 12:07:16 2017 -0800
@@ -20,7 +20,7 @@
# CDDL HEADER END
#
-# Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
"""
Misc utility functions used by the packaging system.
@@ -238,7 +238,8 @@
raise shutil.Error("Destination path '{0}' already "
"exists".format(dst))
else:
- raise
+ # Access to protected member; pylint: disable=W0212
+ raise api_errors._convert_error(e)
def expanddirs(dirs):
"""given a set of directories, return expanded set that includes