summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-02-25 19:40:08 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-02-25 19:40:08 +0100
commit19bd571a866fbe66d1bf024d458cfff8193c3f4d (patch)
tree3669b596854e7450d8bafdecfc3e1355f9f3c174
parentb9a649803801c8925a4109d252c52846bfd020fd (diff)
downloadpython-apt-19bd571a866fbe66d1bf024d458cfff8193c3f4d.tar.gz
add a bunch of #!/usr/bin/python to the examples
-rw-r--r--doc/examples/acquire.py1
-rw-r--r--doc/examples/desc.py1
-rw-r--r--doc/examples/indexfile.py1
-rw-r--r--doc/examples/metaindex.py1
-rw-r--r--doc/examples/progress.py2
-rwxr-xr-xdoc/examples/update.py1
6 files changed, 7 insertions, 0 deletions
diff --git a/doc/examples/acquire.py b/doc/examples/acquire.py
index 58372961..a23c41c6 100644
--- a/doc/examples/acquire.py
+++ b/doc/examples/acquire.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import apt
import apt_pkg
import os
diff --git a/doc/examples/desc.py b/doc/examples/desc.py
index f47517cf..2febf348 100644
--- a/doc/examples/desc.py
+++ b/doc/examples/desc.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import apt_pkg
diff --git a/doc/examples/indexfile.py b/doc/examples/indexfile.py
index 22d0b635..2f1f27f8 100644
--- a/doc/examples/indexfile.py
+++ b/doc/examples/indexfile.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import apt_pkg
diff --git a/doc/examples/metaindex.py b/doc/examples/metaindex.py
index f00a7e01..816a3fd7 100644
--- a/doc/examples/metaindex.py
+++ b/doc/examples/metaindex.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import apt_pkg
diff --git a/doc/examples/progress.py b/doc/examples/progress.py
index 83847598..304bd117 100644
--- a/doc/examples/progress.py
+++ b/doc/examples/progress.py
@@ -1,3 +1,5 @@
+#!/usr/bin/python
+
import sys
import time
diff --git a/doc/examples/update.py b/doc/examples/update.py
index 364fa1c9..5929c9f8 100755
--- a/doc/examples/update.py
+++ b/doc/examples/update.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import apt
import apt_pkg
import os.path