[tracker] Use python instead of python2.5 in the scripts



commit 2be6bdaf08440a78e87996f1798dc3e4a23aba2b
Author: Ivan Frade <ivan frade nokia com>
Date:   Wed Jun 2 16:15:35 2010 +0300

    Use python instead of python2.5 in the scripts

 examples/rss-reader/main.py                        |    2 +-
 examples/rss-reader/signaler.py                    |    2 +-
 tests/estress/abstract_engine.py                   |    2 +-
 tests/estress/abstract_text_engine.py              |    2 +-
 tests/estress/client.py                            |    2 +-
 tests/estress/mock_engine.py                       |    2 +-
 tests/estress/options.py                           |    2 +-
 tests/estress/rss_engine.py                        |    2 +-
 tests/estress/wh_engine.py                         |    2 +-
 tests/functional-tests/01-insertion.py             |    2 +-
 tests/functional-tests/02-metacontacts.py          |    2 +-
 tests/functional-tests/03-fts-functions.py         |    2 +-
 tests/functional-tests/04-group-concat.py          |    2 +-
 tests/functional-tests/05-coalesce.py              |    2 +-
 tests/functional-tests/06-distance.py              |    2 +-
 tests/functional-tests/07-graph.py                 |    2 +-
 tests/functional-tests/08-unique-insertions.py     |    2 +-
 tests/functional-tests/09-concurrent-query.py      |    2 +-
 tests/functional-tests/10-sqlite-misused.py        |    2 +-
 tests/functional-tests/11-sqlite-batch-misused.py  |    2 +-
 tests/functional-tests/backup-restore-tc.py        |    2 +-
 tests/functional-tests/bootup-tc.py                |    2 +-
 tests/functional-tests/metadata_extraction_tc.py   |    2 +-
 tests/functional-tests/miner-basic-ops.py          |    2 +-
 tests/functional-tests/performance-tc.py           |    2 +-
 tests/functional-tests/virtual-files-tc.py         |    2 +-
 tests/functional-tests/writeback-tc.py             |    2 +-
 tests/tracker-writeback/01-writeback.py            |    2 +-
 utils/data-generators/barnum/convert_data.py       |    2 +-
 utils/data-generators/barnum/gen_data.py           |    2 +-
 utils/data-generators/barnum/genpw.py              |    2 +-
 utils/data-generators/deprecated/atom2ttl.py       |    2 +-
 utils/data-generators/deprecated/generate_Image.py |    2 +-
 utils/data-generators/deprecated/generate_Video.py |    2 +-
 utils/gtk-sparql/gtk-sparql.py                     |    2 +-
 35 files changed, 35 insertions(+), 35 deletions(-)
---
diff --git a/examples/rss-reader/main.py b/examples/rss-reader/main.py
index c5547fa..9a2e7c1 100755
--- a/examples/rss-reader/main.py
+++ b/examples/rss-reader/main.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Demo RSS client using tracker as backend
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
diff --git a/examples/rss-reader/signaler.py b/examples/rss-reader/signaler.py
index 974777a..b729bff 100755
--- a/examples/rss-reader/signaler.py
+++ b/examples/rss-reader/signaler.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Demo RSS provider simulator
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
diff --git a/tests/estress/abstract_engine.py b/tests/estress/abstract_engine.py
index 645d11a..a6f4fb4 100644
--- a/tests/estress/abstract_engine.py
+++ b/tests/estress/abstract_engine.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/tests/estress/abstract_text_engine.py b/tests/estress/abstract_text_engine.py
index fe3da10..b4a4fcd 100644
--- a/tests/estress/abstract_text_engine.py
+++ b/tests/estress/abstract_text_engine.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/tests/estress/client.py b/tests/estress/client.py
index f39b953..516da82 100755
--- a/tests/estress/client.py
+++ b/tests/estress/client.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/tests/estress/mock_engine.py b/tests/estress/mock_engine.py
index d480d26..8606854 100644
--- a/tests/estress/mock_engine.py
+++ b/tests/estress/mock_engine.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/tests/estress/options.py b/tests/estress/options.py
index e4f8099..1f4b22c 100644
--- a/tests/estress/options.py
+++ b/tests/estress/options.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/tests/estress/rss_engine.py b/tests/estress/rss_engine.py
index 849c904..2357ddc 100755
--- a/tests/estress/rss_engine.py
+++ b/tests/estress/rss_engine.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/tests/estress/wh_engine.py b/tests/estress/wh_engine.py
index 23e37d2..a70aecb 100755
--- a/tests/estress/wh_engine.py
+++ b/tests/estress/wh_engine.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/01-insertion.py b/tests/functional-tests/01-insertion.py
index 3e2247d..c5ba491 100755
--- a/tests/functional-tests/01-insertion.py
+++ b/tests/functional-tests/01-insertion.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/02-metacontacts.py b/tests/functional-tests/02-metacontacts.py
index 88bcd3a..e582dd9 100755
--- a/tests/functional-tests/02-metacontacts.py
+++ b/tests/functional-tests/02-metacontacts.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/03-fts-functions.py b/tests/functional-tests/03-fts-functions.py
index 1821aca..c8c86b6 100755
--- a/tests/functional-tests/03-fts-functions.py
+++ b/tests/functional-tests/03-fts-functions.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/04-group-concat.py b/tests/functional-tests/04-group-concat.py
index 15a6b6b..b4eb3ad 100644
--- a/tests/functional-tests/04-group-concat.py
+++ b/tests/functional-tests/04-group-concat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/05-coalesce.py b/tests/functional-tests/05-coalesce.py
index 733ed21..06a44fe 100644
--- a/tests/functional-tests/05-coalesce.py
+++ b/tests/functional-tests/05-coalesce.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/06-distance.py b/tests/functional-tests/06-distance.py
index 3dffa5c..e97d599 100644
--- a/tests/functional-tests/06-distance.py
+++ b/tests/functional-tests/06-distance.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/07-graph.py b/tests/functional-tests/07-graph.py
index 811fd55..bd228a1 100644
--- a/tests/functional-tests/07-graph.py
+++ b/tests/functional-tests/07-graph.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/08-unique-insertions.py b/tests/functional-tests/08-unique-insertions.py
index 76a8167..b7af37a 100644
--- a/tests/functional-tests/08-unique-insertions.py
+++ b/tests/functional-tests/08-unique-insertions.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/09-concurrent-query.py b/tests/functional-tests/09-concurrent-query.py
index 35f7aca..9b22628 100644
--- a/tests/functional-tests/09-concurrent-query.py
+++ b/tests/functional-tests/09-concurrent-query.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/10-sqlite-misused.py b/tests/functional-tests/10-sqlite-misused.py
index 096bbda..85c975b 100644
--- a/tests/functional-tests/10-sqlite-misused.py
+++ b/tests/functional-tests/10-sqlite-misused.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/11-sqlite-batch-misused.py b/tests/functional-tests/11-sqlite-batch-misused.py
index 64966b9..b3ad74e 100644
--- a/tests/functional-tests/11-sqlite-batch-misused.py
+++ b/tests/functional-tests/11-sqlite-batch-misused.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/backup-restore-tc.py b/tests/functional-tests/backup-restore-tc.py
index f81d45d..ce9a25d 100644
--- a/tests/functional-tests/backup-restore-tc.py
+++ b/tests/functional-tests/backup-restore-tc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/bootup-tc.py b/tests/functional-tests/bootup-tc.py
index c54ba4e..021907a 100644
--- a/tests/functional-tests/bootup-tc.py
+++ b/tests/functional-tests/bootup-tc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 
 # Copyright (C) 2008, Nokia (urho konttori nokia com)
 #
diff --git a/tests/functional-tests/metadata_extraction_tc.py b/tests/functional-tests/metadata_extraction_tc.py
index 0d38785..74d1e93 100755
--- a/tests/functional-tests/metadata_extraction_tc.py
+++ b/tests/functional-tests/metadata_extraction_tc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/miner-basic-ops.py b/tests/functional-tests/miner-basic-ops.py
index 93b3b6d..5411e0a 100644
--- a/tests/functional-tests/miner-basic-ops.py
+++ b/tests/functional-tests/miner-basic-ops.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 
 # Copyright (C) 2008, Nokia (urho konttori nokia com)
 #
diff --git a/tests/functional-tests/performance-tc.py b/tests/functional-tests/performance-tc.py
index 72b946a..c5560cb 100644
--- a/tests/functional-tests/performance-tc.py
+++ b/tests/functional-tests/performance-tc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/virtual-files-tc.py b/tests/functional-tests/virtual-files-tc.py
index 427a371..e6290b6 100644
--- a/tests/functional-tests/virtual-files-tc.py
+++ b/tests/functional-tests/virtual-files-tc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/functional-tests/writeback-tc.py b/tests/functional-tests/writeback-tc.py
index a159b3a..754c4b1 100644
--- a/tests/functional-tests/writeback-tc.py
+++ b/tests/functional-tests/writeback-tc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2010, Nokia <ivan frade nokia com>
 #
diff --git a/tests/tracker-writeback/01-writeback.py b/tests/tracker-writeback/01-writeback.py
index 20c2ebc..58f63a6 100755
--- a/tests/tracker-writeback/01-writeback.py
+++ b/tests/tracker-writeback/01-writeback.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/utils/data-generators/barnum/convert_data.py b/utils/data-generators/barnum/convert_data.py
index cd9218c..8edcedc 100755
--- a/utils/data-generators/barnum/convert_data.py
+++ b/utils/data-generators/barnum/convert_data.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
+#!/usr/bin/python
 """
 This application converts the various text files stored in the source-data
 directory into a pickled python object to be used by the random data
diff --git a/utils/data-generators/barnum/gen_data.py b/utils/data-generators/barnum/gen_data.py
index bff03d9..7179959 100755
--- a/utils/data-generators/barnum/gen_data.py
+++ b/utils/data-generators/barnum/gen_data.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
+#!/usr/bin/python
 #
 # Barnum is a python-based test data generator.
 # Copyright (C) 2007, Chris Moffitt
diff --git a/utils/data-generators/barnum/genpw.py b/utils/data-generators/barnum/genpw.py
index 4534033..b220c63 100755
--- a/utils/data-generators/barnum/genpw.py
+++ b/utils/data-generators/barnum/genpw.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.5
+#!/usr/bin/python
 #
 # Random password generator in the form of 'word'+digits+'word'
 # Copyright (C) 2005, Pradeep Kishore Gowda <pradeep at btbytes.com>
diff --git a/utils/data-generators/deprecated/atom2ttl.py b/utils/data-generators/deprecated/atom2ttl.py
index 8773540..db21682 100644
--- a/utils/data-generators/deprecated/atom2ttl.py
+++ b/utils/data-generators/deprecated/atom2ttl.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 #
 # Copyright (C) 2009, Nokia <ivan frade nokia com>
 #
diff --git a/utils/data-generators/deprecated/generate_Image.py b/utils/data-generators/deprecated/generate_Image.py
index 407848c..cc6bf2f 100644
--- a/utils/data-generators/deprecated/generate_Image.py
+++ b/utils/data-generators/deprecated/generate_Image.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python2.5
+#! /usr/bin/python
 # -*- coding: utf-8 -*-
 
 import string
diff --git a/utils/data-generators/deprecated/generate_Video.py b/utils/data-generators/deprecated/generate_Video.py
index 4b1b274..b39de2b 100644
--- a/utils/data-generators/deprecated/generate_Video.py
+++ b/utils/data-generators/deprecated/generate_Video.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python2.5
+#! /usr/bin/python
 # -*- coding: utf-8 -*-
 
 import string
diff --git a/utils/gtk-sparql/gtk-sparql.py b/utils/gtk-sparql/gtk-sparql.py
index 6e8113c..85713bd 100755
--- a/utils/gtk-sparql/gtk-sparql.py
+++ b/utils/gtk-sparql/gtk-sparql.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.5
+#!/usr/bin/env python
 
 # GtkSparql - Gtk UI to try SparQL queries against tracker.
 # Copyright (C) 2009, Ivan Frade <ivan frade gmail com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]