From 42da3b72a8ee7deac3abe238fbdb1591d8d945b9 Mon Sep 17 00:00:00 2001 From: pepperpepperpepper Date: Fri, 9 Oct 2015 15:52:02 -0700 Subject: alright got rid of most relative paths --- lib/param/int_.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lib/param/int_.py (limited to 'lib/param/int_.py') diff --git a/lib/param/int_.py b/lib/param/int_.py deleted file mode 100644 index 9d48518..0000000 --- a/lib/param/int_.py +++ /dev/null @@ -1,25 +0,0 @@ -"""Int class definition lives here""" -from .param import Param - -class Int(Param): - def __init__(self, value, classname=""): - """Defines the float param type - Args: - value: the value of the Int - classname: the name of the class to which the param belongs - """ - super(Int, 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