Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e1523c8

Browse filesBrowse files
committed
JSON format change for formula without any bottles
1 parent d4a5198 commit e1523c8
Copy full SHA for e1523c8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎travis_osx_brew_cache.sh

Copy file name to clipboardExpand all lines: travis_osx_brew_cache.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ function _brew_parse_package_info {
285285
revision=data["revision"]
286286
# in bottle''s json, revision is included into version; here, they are separate
287287
print data["versions"]["stable"]+("_"+str(revision) if revision else "")
288-
bottle_data=data["bottle"]["stable"]
288+
bottle_data=data["bottle"].get("stable",{"rebuild":"","files":{}})
289289
print bottle_data["rebuild"]
290290
print bottle_data["files"].get(sys.argv[2],{"sha256":"!?"})["sha256"] #prevent losing trailing blank line to command substitution
291291
' \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.