Skip to content

Commit

Permalink
Cleaned unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian-RY committed Dec 10, 2024
1 parent 17927e7 commit e7df217
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
6 changes: 2 additions & 4 deletions backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"""

import tarfile
import gzip
import urllib

import requests
from requests.auth import HTTPBasicAuth
Expand Down Expand Up @@ -38,5 +36,5 @@ def _tar_gz(files: list, filename: str) -> None:

def _upload(url: str, tarfile: str, remote_name:str, user:str, password:str):
files = open(tarfile, 'rb')
r = requests.put("{}/{}".format(url, remote_name), data=files, auth = HTTPBasicAuth(user, password))
pass
requests.put("{}/{}".format(url, remote_name), data=files, auth = HTTPBasicAuth(user, password))

1 change: 0 additions & 1 deletion github-stats-compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import argparse
import datetime
import logging
import json
import os
import urllib.request

Expand Down
2 changes: 0 additions & 2 deletions repositories/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
@author: frobledo
"""

import os
import datetime
import json
import logging
import urllib
Expand Down

0 comments on commit e7df217

Please sign in to comment.