Skip to content

Commit

Permalink
Symfony edition fix (breaking changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
twkrol committed Jul 11, 2020
1 parent e4ca240 commit e2c515b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions servers/symfony.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ def getEditions(template):
for edition in editions:
item = copy.copy(template) #copy of Softver object
item.stable = True
# item.edition = edition.replace("_",".")
item.edition = edition
item.edition = editions[edition]

#Looking for detailed edition information from custom url
response = requests.get(url="https://symfony.com/releases/"+ editions[item.edition] +".json")
response = requests.get(url="https://symfony.com/releases/"+ item.edition +".json")
data = response.json()

#Skip development versions
Expand Down
4 changes: 2 additions & 2 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
from datetime import datetime, date
import vergrabber

__version__ = '3.3.5'
__version__ = '3.4.0'
__author__ = 'Tomasz Krol'
__author_email__ = '[email protected]'

debug = False
debug_module = None
# debug = True
# debug_module = 'acrobatreader'
# debug_module = 'symfony'

def dumper(obj):
if isinstance(obj, date) or isinstance(obj, datetime):
Expand Down

0 comments on commit e2c515b

Please sign in to comment.