From a9c29bbd259990168cdc6c4163a5e18ab2df005c Mon Sep 17 00:00:00 2001 From: woorst Date: Mon, 27 Jun 2016 17:47:59 -0500 Subject: [PATCH] Remove use of python 3 specific tuple unpacking --- rtv/content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtv/content.py b/rtv/content.py index 1bb53b9..ad6c9a8 100644 --- a/rtv/content.py +++ b/rtv/content.py @@ -6,7 +6,7 @@ from datetime import datetime import six import praw -from praw.errors import InvalidSubreddit, NotFound +from praw.errors import InvalidSubreddit from kitchen.text.display import wrap from . import exceptions @@ -376,7 +376,7 @@ class SubredditContent(Content): # Strip leading and trailing backslashes name = name.strip(' /').split('/') if name[0] in ['r', 'u', 'user', 'domain']: - listing, *name = name + listing, name = name[0], name[1:] if len(name) > 1: name, name_order = name order = order or name_order