summaryrefslogtreecommitdiff
path: root/ricky
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2015-10-10 02:55:16 -0700
committeryo mama <pepper@scannerjammer.com>2015-10-10 02:55:16 -0700
commitb10e46d0efca25234b18c28a47393cbf365b3c0d (patch)
tree5ae5bb2860c5d5d4d4f0691b2bf323c1956015d5 /ricky
parentb02cc8d49513cdcc54f4421e71db3512354d4e2e (diff)
renamed options to selections
Diffstat (limited to 'ricky')
-rw-r--r--ricky/imbreak/params.py2
-rw-r--r--ricky/imgrid/params.py2
-rw-r--r--ricky/impattern/params.py2
-rw-r--r--ricky/param/param.py2
-rw-r--r--ricky/param/selections.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/ricky/imbreak/params.py b/ricky/imbreak/params.py
index 9d8b356..0c437d6 100644
--- a/ricky/imbreak/params.py
+++ b/ricky/imbreak/params.py
@@ -1,6 +1,6 @@
import re, random
from ricky.params import Params
-from ricky.param.option import Selection
+from ricky.param.selection import Selection
from ricky.param.selections import Selections
from ricky.param.username import Username
from ricky.param.imageurl import ImageUrl
diff --git a/ricky/imgrid/params.py b/ricky/imgrid/params.py
index b541e84..580c2f2 100644
--- a/ricky/imgrid/params.py
+++ b/ricky/imgrid/params.py
@@ -1,7 +1,7 @@
import re, random
from ricky.params import Params
from ricky.param import Param
-from ricky.param.option import Selection
+from ricky.param.selection import Selection
from ricky.param.selections import Selections
from ricky.param.username import Username
from ricky.param.imageurl import ImageUrl
diff --git a/ricky/impattern/params.py b/ricky/impattern/params.py
index 73c6fb2..b4a63ae 100644
--- a/ricky/impattern/params.py
+++ b/ricky/impattern/params.py
@@ -1,7 +1,7 @@
import re
from ricky.params import Params
from ricky.param import Param
-from ricky.param.option import Selection
+from ricky.param.selection import Selection
from ricky.param.selections import Selections
from ricky.param.username import Username
from ricky.param.imageurl import ImageUrl
diff --git a/ricky/param/param.py b/ricky/param/param.py
index 6f7e2a7..9e7b42e 100644
--- a/ricky/param/param.py
+++ b/ricky/param/param.py
@@ -18,7 +18,7 @@ class Param(object):
self._selections = kwargs.get('selections') or []
if len(self._selections):
self._validate_selections()
- """default value is the option with the heaviest weight"""
+ """default value is the selection with the heaviest weight"""
self.default(self._choose_heaviest())
def selections(self):
diff --git a/ricky/param/selections.py b/ricky/param/selections.py
index 303c92e..1e2c3b3 100644
--- a/ricky/param/selections.py
+++ b/ricky/param/selections.py
@@ -1,4 +1,4 @@
-from ricky.param.option import Selection
+from ricky.param.selection import Selection
import sys
class Selections:
def __init__(self, *args):