summaryrefslogtreecommitdiff
path: root/Pb_Api/Param/Options.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-09-30 00:54:23 -0700
committerpepperpepperpepper <pepper@scannerjammer.com>2015-09-30 00:54:23 -0700
commit20a896ed6a8d54c3e59baa33ce3fce7a26343c20 (patch)
tree9ab213b83ba029dff649bc4744ef41a6b5d7c54e /Pb_Api/Param/Options.py
parent60b90c5c665201e1adcc6deb60b5ac5ff82314e0 (diff)
HUGE rename project
Diffstat (limited to 'Pb_Api/Param/Options.py')
-rw-r--r--Pb_Api/Param/Options.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/Pb_Api/Param/Options.py b/Pb_Api/Param/Options.py
deleted file mode 100644
index ebc6fc9..0000000
--- a/Pb_Api/Param/Options.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from Pb_Api.Param.Option import Pb_Api_Param_Option
-import sys
-class Pb_Api_Param_Options:
- def __init__(self, *args):
- self._values = args
- def __iter__(self):
- return iter(self._values)
- def __len__(self):
- return len(self._values)
- def __str__(self):
- return str(self._values)
- def __getitem__(self, i):
- return self._values[i]
- def search(self, s):
- for i in self:
- if str(s) in i.value:
- return i
- @classmethod
- def from_dict(cls, *args):
- options = map(lambda x: Pb_Api_Param_Option(**x), args);
- return cls(*options);