Skip to content

Commit

Permalink
sync: remove unused imports πŸ˜›
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester authored and tekton-robot committed Mar 31, 2020
1 parent 0ad2249 commit 6b744eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import re
import shutil

from google.oauth2 import service_account
from google.cloud import storage
from jinja2 import Environment, FileSystemLoader
import wget
from yaml import load, Loader
Expand Down Expand Up @@ -72,7 +70,7 @@ def sync(sync_config):
print(f'Retrieving the latest version ({tags[0]["displayName"]}) of Tekton {component} documentation (from {url_prefix} to {dest_prefix}).\n')
retrieve_files(url_prefix, dest_prefix, files)
transform_links(f'/docs/{component.lower()}/', dest_prefix, files)


# Get the previous versions of contents
for tag in tags[1:]:
Expand Down Expand Up @@ -117,7 +115,7 @@ def scan(dir_path):
sync_config_paths.append(entry.path)
elif entry.is_dir():
scan(entry.path)

return sync_config_paths

if __name__ == '__main__':
Expand Down

0 comments on commit 6b744eb

Please sign in to comment.