From 5c982ed500b51f5b8d911e5a5adec10ac2d31d2e Mon Sep 17 00:00:00 2001 From: yo mama Date: Wed, 23 Sep 2015 23:27:27 -0700 Subject: ok good --- lib/Param/Int/__init__.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 lib/Param/Int/__init__.py (limited to 'lib/Param/Int') diff --git a/lib/Param/Int/__init__.py b/lib/Param/Int/__init__.py deleted file mode 100644 index 0a73cc1..0000000 --- a/lib/Param/Int/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -from Param import Param - -class ParamInt(Param): - def __init__(self, value, classname=""): - super(ParamInt, self).__init__(classname=classname) - try: - if value: - self.value = int(value) - else: - self.value = 0 - except Exception as e: - self.err_warn("Not an int: %s" % str(value)) - self.err_warn(str(e)) - def __int__(self): - return int(self.value) - - def __float__(self): - return float(self.value) -- cgit v1.2.3-70-g09d2