Updated the praw3 package hash

This commit is contained in:
Michael Lazar
2018-08-04 01:47:52 -04:00
parent b8fb0cf418
commit 50f99449c0
2 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ from __future__ import absolute_import
import sys import sys
__praw_hash__ = '1e82eb0f8690a2acbdc15d030130dc50507eb4ba' __praw_hash__ = '1656ec224e574eed9cda4efcb497825d54b4d926'
__praw_bundled__ = True __praw_bundled__ = True

View File

@@ -842,7 +842,7 @@ class UnauthenticatedReddit(BaseReddit):
:param domain: The domain to generate a submission listing for. :param domain: The domain to generate a submission listing for.
:param sort: When provided must be one of 'hot', 'new', 'rising', :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 :param period: When sort is either 'controversial', or 'top' the period
can be either None (for account default), 'all', 'year', 'month', can be either None (for account default), 'all', 'year', 'month',
'week', 'day', or 'hour'. 'week', 'day', or 'hour'.
@@ -852,7 +852,8 @@ class UnauthenticatedReddit(BaseReddit):
""" """
# Verify arguments # 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.') raise TypeError('Invalid sort parameter.')
if period not in (None, 'all', 'day', 'hour', 'month', 'week', 'year'): if period not in (None, 'all', 'day', 'hour', 'month', 'week', 'year'):
raise TypeError('Invalid period parameter.') raise TypeError('Invalid period parameter.')
@@ -1186,7 +1187,6 @@ class UnauthenticatedReddit(BaseReddit):
""" """
return self.get_content(self.config['gilded'], *args, **kwargs) return self.get_content(self.config['gilded'], *args, **kwargs)
# There exists a `modtraffic` scope, but it is unused. # There exists a `modtraffic` scope, but it is unused.
@decorators.restrict_access(scope='modconfig') @decorators.restrict_access(scope='modconfig')
def get_traffic(self, subreddit): def get_traffic(self, subreddit):