aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2011-07-24 01:10:25 +0200
committerFabian Affolter <fabian@affolter-engineering.ch>2019-01-10 17:29:55 +0000
commit5da7a11313ab9c0e8c42ec1d5f5f020421cec67b (patch)
tree1a61238db861254a43e3afb44dc8a06821385757
parent4e1f621cdaa8d3560c4606f45cca32404abda9c3 (diff)
downloadalpine-iso-5da7a11313ab9c0e8c42ec1d5f5f020421cec67b.tar.bz2
alpine-iso-5da7a11313ab9c0e8c42ec1d5f5f020421cec67b.tar.xz
Shebang added to config-builder
-rwxr-xr-x[-rw-r--r--]config-builder.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/config-builder.py b/config-builder.py
index 7b388b6..da8bba4 100644..100755
--- a/config-builder.py
+++ b/config-builder.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+#
# This simple script can be used to create package list
# Copyright (c) 2011 Fabian Affolter <fabian@affolter-engineering.ch>
#
@@ -26,7 +28,7 @@ from optparse import OptionParser
from BeautifulSoup import BeautifulSoup
def get_pkg(url):
- """Retrieve the data from the website."""
+ """Retrieve the package names from a mediawiki page."""
page = urllib2.urlopen(url)
soup = BeautifulSoup(page)
completeList = []