Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from mdgriffith/patch-1
Browse files Browse the repository at this point in the history
Update urls to package.elm-lang.org now that 0.17 is released
  • Loading branch information
eeue56 committed May 10, 2016
2 parents 34a44e5 + aa30852 commit b74b066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update_elm_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_module_name_and_exposing(text):
return matches.groups()

def new_packages():
r = requests.get("http://159.203.88.24:8000/new-packages")
r = requests.get("http://package.elm-lang.org/new-packages")
return r.json()

def update_elm_package(root_folder, dry=False):
Expand Down Expand Up @@ -105,7 +105,7 @@ def update_elm_package(root_folder, dry=False):
upgradable_packages[package] = version

local = upgradable_packages
remote = upgrader.load_all_packages("0.17", "http://159.203.88.24:8000/all-packages?elm-package-version=")
remote = upgrader.load_all_packages("0.17", "http://package.elm-lang.org/all-packages?elm-package-version=")


upgrade_suggestions = upgrader.find_newer_versions(local, remote)
Expand Down

0 comments on commit b74b066

Please sign in to comment.