Commits
Ville Suoranta authored 99960b0e715 Merge
3 3 | import os |
4 4 | import argparse |
5 5 | import urllib |
6 6 | import urllib2 |
7 7 | from HTMLParser import HTMLParser |
8 8 | from subprocess import check_output |
9 9 | import platform |
10 10 | |
11 11 | |
12 12 | # Supported operating system versions |
13 + | |
13 14 | osVersions = ["el6", "el7", "osx1011", "osx1012"] |
14 15 | script_dir = os.path.dirname(os.path.realpath(__file__)) |
15 16 | |
16 17 | |
17 18 | class MyHTMLParser(HTMLParser): |
18 19 | |
19 20 | links = [] |
20 21 | |
21 22 | def handle_starttag(self, tag, attrs): |
22 23 | # Only parse the 'anchor' tag. |