Skip to content

Commit

Permalink
Get rid of functools
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Fazzari <[email protected]>
  • Loading branch information
kyrofa committed May 22, 2020
1 parent 7ea0db9 commit 157967f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vcstool/clients/vcs_base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import errno
import functools
import glob
import logging
import netrc
Expand Down Expand Up @@ -151,7 +150,6 @@ def test_url(url, retry=2, retry_period=1, timeout=10):

def _urlopen_retry(retry, retry_period):
def _retry_decorator(f):
@functools.wraps(f)
def _retryable_function(*args, **kwargs):
local_retry = retry + 1

Expand Down

0 comments on commit 157967f

Please sign in to comment.