get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / GetLeaseGranularity.py
index 383ee8c..804dd4a 100644 (file)
@@ -1,10 +1,7 @@
-# $Id$
-# $URL$
 from PLC.Method import Method
 from PLC.Auth import Auth
 from PLC.Faults import *
 from PLC.Parameter import Parameter
-from PLC.Leases import Lease
 
 class GetLeaseGranularity(Method):
     """
@@ -22,4 +19,4 @@ class GetLeaseGranularity(Method):
 
     def call(self, auth):
 
-        return Lease.granularity
+        return self.api.config.PLC_RESERVATION_GRANULARITY