summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Yuzawa <jyuzawa@u.rochester.edu>2013-03-13 20:40:30 -0400
committerJames Yuzawa <jyuzawa@u.rochester.edu>2013-03-13 20:40:30 -0400
commit4dacd297ba4ef2825b8b29004fb9aaf934bf5c39 (patch)
treeb81897b48ddd2772ba3683cb9305c7f66a1d1454
parentb7436d0fac5f90ad7002576c49cc62bcdcb73c24 (diff)
downloadcroniter-4dacd297ba4ef2825b8b29004fb9aaf934bf5c39.tar.gz
removed useless for loop, now empty from previous bugfix
-rw-r--r--croniter/croniter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/croniter/croniter.py b/croniter/croniter.py
index 284ba7a..3125f14 100644
--- a/croniter/croniter.py
+++ b/croniter/croniter.py
@@ -90,8 +90,7 @@ class croniter(object):
raise ValueError("[%s] is not acceptable" %expr_format)
low, high, step = map(int, [low, high, step])
- for j in range(low, high+1, step):
- e_list.append(j)
+ e_list += range(low, high+1, step)
else:
if not star_or_int_re.search(t):
t = self.ALPHACONV[i][t.lower()]