iro/model/decorators.py
branchdevel
changeset 115 323d06431100
child 117 351a02310dd8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/iro/model/decorators.py	Fri Jan 27 17:49:57 2012 +0100
@@ -0,0 +1,10 @@
+from decorator import decorator
+
+from .utils import DBDefer
+from .user import vUser
+
+def vRoute(typ):
+    @decorator
+    def wrapper(f, *args, **kwargs):
+        return f(*args, **kwargs)
+    return wrapper