iro/model/user.py
branchdevel
changeset 282 50cc13814bfb
parent 263 52284710c0b4
child 294 0e75bd39767d
--- a/iro/model/user.py	Wed Apr 25 17:15:15 2012 +0200
+++ b/iro/model/user.py	Fri Jul 06 12:22:15 2012 +0200
@@ -1,5 +1,9 @@
 from twisted.internet import defer
-from inspect import getcallargs
+try:
+    from inspect import getcallargs
+except ImportError:
+    from ..inspect_getcallargs import getcallargs
+
 from decorator import decorator
 
 from .schema import User