File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def __init__(self, resp):
18
18
#: List of errors provided by GitHub
19
19
if error .get ('errors' ):
20
20
self .errors = error .get ('errors' )
21
- except : # Amazon S3 error
21
+ except Exception : # Amazon S3 error
22
22
self .msg = resp .content or '[No message]'
23
23
24
24
def __repr__ (self ):
Original file line number Diff line number Diff line change @@ -216,10 +216,10 @@ def test_gitignore_templates(self):
216
216
"""Test the ability to retrieve a list of gitignore templates."""
217
217
cassette_name = self .cassette_name ('gitignore_templates' )
218
218
with self .recorder .use_cassette (cassette_name ):
219
- l = self .gh .gitignore_templates ()
219
+ thelist = self .gh .gitignore_templates ()
220
220
<
5D40
code>221
- assert l != []
222
- assert isinstance (l , list )
221
+ assert thelist != []
222
+ assert isinstance (thelist , list )
223
223
224
224
def test_is_following (self ):
225
225
"""Test the ability to check if a user is being followed."""
You can’t perform that action at this time.
0 commit comments