Skip to content

Commit

Permalink
Fix bad URI(is not URI?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Jul 18, 2016
1 parent 0cab8a5 commit 8d3dddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/appdata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def self.add_appdata data, xml
def self.get_distribution dist="factory", flavour="oss"
if dist == "factory"
appdata_regex = /appdata-\S{32}.xml.gz/
tumbleweed_contents = open('http://download.opensuse.org/tumbleweed/repo/#{flavour}/content') {|f| f.read }
tumbleweed_contents = open("http://download.opensuse.org/tumbleweed/repo/#{flavour}/content") {|f| f.read }
appdata_filename = tumbleweed_contents.match(appdata_regex)
appdata_url = "http://download.opensuse.org/tumbleweed/repo/#{flavour}/suse/setup/descr/#{appdata_filename}"
else
Expand Down

0 comments on commit 8d3dddd

Please sign in to comment.