Change in vdsm[master]: gluster:cleanup: Remove unnecessary wrapper
ahino at redhat.com
ahino at redhat.com
Wed Aug 19 15:05:10 UTC 2015
Ala Hino has uploaded a new change for review.
Change subject: gluster:cleanup: Remove unnecessary wrapper
......................................................................
gluster:cleanup: Remove unnecessary wrapper
Change-Id: I9ff1b4f785f453a6fbf1660949db779712d88758
Signed-off-by: Ala Hino <ahino at redhat.com>
---
M vdsm/gluster/__init__.py
1 file changed, 2 insertions(+), 6 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/97/45097/1
diff --git a/vdsm/gluster/__init__.py b/vdsm/gluster/__init__.py
index 0566ceb..ee033a2 100644
--- a/vdsm/gluster/__init__.py
+++ b/vdsm/gluster/__init__.py
@@ -27,12 +27,8 @@
def makePublic(func):
- @wraps(func)
- def wrapper(*args, **kwargs):
- return func(*args, **kwargs)
-
- wrapper.superVdsm = True
- return wrapper
+ func.superVdsm = True
+ return func
def listPublicFunctions():
--
To view, visit https://gerrit.ovirt.org/45097
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ff1b4f785f453a6fbf1660949db779712d88758
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ala Hino <ahino at redhat.com>
More information about the vdsm-patches
mailing list