Skip to content

Commit

Permalink
setup.py: flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Sep 12, 2019
1 parent feb819e commit 5c1c028
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ def get_blitz_location():
config_blitz_url += "artifact/omero-blitz/build/distributions/"
config_blitz_url += "omero-blitz-VERSION-python.zip"
else:
config_blitz_url = ("https://artifacts.openmicroscopy.org/artifactory/"
"ome.releases/org/openmicroscopy/omero-blitz/VERSION/"
"omero-blitz-VERSION-python.zip")
config_blitz_url = (
"https://artifacts.openmicroscopy.org/artifactory/ome.releases/"
"org/openmicroscopy/omero-blitz/VERSION/"
"omero-blitz-VERSION-python.zip")

# load version.properties if available
config_path = os.environ.get("VERSION_PROPERTIES",
Expand All @@ -70,7 +71,8 @@ def get_blitz_location():
config_blitz_version = config_obj.get(defaultsect, version_key)

# replace VERSION in the final url and return
config_blitz_url = config_blitz_url.replace("VERSION", config_blitz_version)
config_blitz_url = config_blitz_url.replace(
"VERSION", config_blitz_version)
return config_blitz_url


Expand Down

0 comments on commit 5c1c028

Please sign in to comment.