Skip to content

Commit

Permalink
Remove errors on max limit in pytx
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Kornblum committed Jun 1, 2015
1 parent e2c8e11 commit 50ea466
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions pytx/pytx/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ def validate_limit(limit):
int(limit)
except ValueError, e:
raise pytxValueError(e)
if limit > t.MAX_LIMIT:
raise pytxValueError(
"limit cannot exceed %s (default: %s)" % (t.MAX_LIMIT,
t.DEFAULT_LIMIT)
)
return

@staticmethod
Expand Down
1 change: 0 additions & 1 deletion pytx/pytx/vocabulary.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class ThreatExchange(object):
VERSION = 'v2.3/'
ACCESS_TOKEN = 'access_token'
DEFAULT_LIMIT = 25
MAX_LIMIT = 1000

# GET
MALWARE_ANALYSES = 'malware_analyses/'
Expand Down

0 comments on commit 50ea466

Please sign in to comment.