Updated the praw3 package hash
This commit is contained in:
@@ -10,7 +10,7 @@ from __future__ import absolute_import
|
||||
|
||||
import sys
|
||||
|
||||
__praw_hash__ = '1e82eb0f8690a2acbdc15d030130dc50507eb4ba'
|
||||
__praw_hash__ = '1656ec224e574eed9cda4efcb497825d54b4d926'
|
||||
__praw_bundled__ = True
|
||||
|
||||
|
||||
|
||||
@@ -842,7 +842,7 @@ class UnauthenticatedReddit(BaseReddit):
|
||||
|
||||
:param domain: The domain to generate a submission listing for.
|
||||
:param sort: When provided must be one of 'hot', 'new', 'rising',
|
||||
'controversial', 'gilded', or 'top'. Defaults to 'hot'.
|
||||
'controversial, 'gilded', or 'top'. Defaults to 'hot'.
|
||||
:param period: When sort is either 'controversial', or 'top' the period
|
||||
can be either None (for account default), 'all', 'year', 'month',
|
||||
'week', 'day', or 'hour'.
|
||||
@@ -852,7 +852,8 @@ class UnauthenticatedReddit(BaseReddit):
|
||||
|
||||
"""
|
||||
# Verify arguments
|
||||
if sort not in ('controversial', 'hot', 'new', 'rising', 'top', 'gilded'):
|
||||
if sort not in ('controversial', 'hot', 'new', 'rising', 'top',
|
||||
'gilded'):
|
||||
raise TypeError('Invalid sort parameter.')
|
||||
if period not in (None, 'all', 'day', 'hour', 'month', 'week', 'year'):
|
||||
raise TypeError('Invalid period parameter.')
|
||||
@@ -1186,7 +1187,6 @@ class UnauthenticatedReddit(BaseReddit):
|
||||
"""
|
||||
return self.get_content(self.config['gilded'], *args, **kwargs)
|
||||
|
||||
|
||||
# There exists a `modtraffic` scope, but it is unused.
|
||||
@decorators.restrict_access(scope='modconfig')
|
||||
def get_traffic(self, subreddit):
|
||||
|
||||
Reference in New Issue
Block a user