File koffice_remove_python_shebangs.diff of Package koffice2
Index: kword/plugins/scripting/scripts/sample_progressbar.py
===================================================================
--- kword/plugins/scripting/scripts/sample_progressbar.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_progressbar.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import KWord, time
Index: kword/plugins/scripting/scripts/kwreportlab.py
===================================================================
--- kword/plugins/scripting/scripts/kwreportlab.py (revision 950460)
+++ kword/plugins/scripting/scripts/kwreportlab.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
import os, sys, re, types, string, datetime, urllib
# import the reportlab module.
Index: kword/plugins/scripting/scripts/sample_lists_cursor.py
===================================================================
--- kword/plugins/scripting/scripts/sample_lists_cursor.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_lists_cursor.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
# Import the KWord module.
Index: kword/plugins/scripting/scripts/onlinehelp.py
===================================================================
--- kword/plugins/scripting/scripts/onlinehelp.py (revision 950460)
+++ kword/plugins/scripting/scripts/onlinehelp.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
import Kross
Index: kword/plugins/scripting/scripts/oouno.py
===================================================================
--- kword/plugins/scripting/scripts/oouno.py (revision 950460)
+++ kword/plugins/scripting/scripts/oouno.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Index: kword/plugins/scripting/scripts/importdoxyxml.py
===================================================================
--- kword/plugins/scripting/scripts/importdoxyxml.py (revision 950460)
+++ kword/plugins/scripting/scripts/importdoxyxml.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Index: kword/plugins/scripting/scripts/sample_toolactions.py
===================================================================
--- kword/plugins/scripting/scripts/sample_toolactions.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_toolactions.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import traceback, Kross, KWord
Index: kword/plugins/scripting/scripts/sample_actions.py
===================================================================
--- kword/plugins/scripting/scripts/sample_actions.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_actions.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import traceback, Kross, KWord
Index: kword/plugins/scripting/scripts/ooimport.py
===================================================================
--- kword/plugins/scripting/scripts/ooimport.py (revision 950460)
+++ kword/plugins/scripting/scripts/ooimport.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
"""
Index: kword/plugins/scripting/scripts/sample_variables.py
===================================================================
--- kword/plugins/scripting/scripts/sample_variables.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_variables.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import KWord, time
Index: kword/plugins/scripting/scripts/importfile.py
===================================================================
--- kword/plugins/scripting/scripts/importfile.py (revision 950460)
+++ kword/plugins/scripting/scripts/importfile.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import codecs, traceback, Kross, KWord
Index: kword/plugins/scripting/scripts/sample_tables.py
===================================================================
--- kword/plugins/scripting/scripts/sample_tables.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_tables.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import KWord
Index: kword/plugins/scripting/scripts/sample_allshapes.py
===================================================================
--- kword/plugins/scripting/scripts/sample_allshapes.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_allshapes.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import KWord
Index: kword/plugins/scripting/scripts/variable_readfile.py
===================================================================
--- kword/plugins/scripting/scripts/variable_readfile.py (revision 950460)
+++ kword/plugins/scripting/scripts/variable_readfile.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import Kross
Index: kword/plugins/scripting/scripts/exportfile.py
===================================================================
--- kword/plugins/scripting/scripts/exportfile.py (revision 950460)
+++ kword/plugins/scripting/scripts/exportfile.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import re, traceback, Kross, KWord
Index: kword/plugins/scripting/scripts/xmlviewer.py
===================================================================
--- kword/plugins/scripting/scripts/xmlviewer.py (revision 950460)
+++ kword/plugins/scripting/scripts/xmlviewer.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
# import some python modules.
Index: kword/plugins/scripting/scripts/sample_lists_html.py
===================================================================
--- kword/plugins/scripting/scripts/sample_lists_html.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_lists_html.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
# Import the KWord module.
Index: kword/plugins/scripting/scripts/sample_text.py
===================================================================
--- kword/plugins/scripting/scripts/sample_text.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_text.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import KWord, time, sys, os
Index: kword/plugins/scripting/scripts/sample_insertshape.py
===================================================================
--- kword/plugins/scripting/scripts/sample_insertshape.py (revision 950460)
+++ kword/plugins/scripting/scripts/sample_insertshape.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import traceback, Kross, KWord
Index: kspread/plugins/scripting/scripts/yweather.py
===================================================================
--- kspread/plugins/scripting/scripts/yweather.py (revision 950460)
+++ kspread/plugins/scripting/scripts/yweather.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
KSpread python script that provides the Yahoo! Weather formula function.
Index: kspread/plugins/scripting/scripts/myorca.py
===================================================================
--- kspread/plugins/scripting/scripts/myorca.py (revision 950460)
+++ kspread/plugins/scripting/scripts/myorca.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
import urllib, Kross, KSpread
class MyConfig:
Index: kspread/plugins/scripting/scripts/consoledocker.py
===================================================================
--- kspread/plugins/scripting/scripts/consoledocker.py (revision 950460)
+++ kspread/plugins/scripting/scripts/consoledocker.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Interactive Python Console Docker for KSpread.
Index: kspread/plugins/scripting/scripts/vcardimport.py
===================================================================
--- kspread/plugins/scripting/scripts/vcardimport.py (revision 950460)
+++ kspread/plugins/scripting/scripts/vcardimport.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Python script to import content from a vCard file to KSpread.
Index: kspread/plugins/scripting/scripts/yfinance.py
===================================================================
--- kspread/plugins/scripting/scripts/yfinance.py (revision 950460)
+++ kspread/plugins/scripting/scripts/yfinance.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
KSpread python script that provides the Yahoo! Finance formula function.
Index: kspread/plugins/scripting/scripts/csvexport.py
===================================================================
--- kspread/plugins/scripting/scripts/csvexport.py (revision 950460)
+++ kspread/plugins/scripting/scripts/csvexport.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
KSpread python script to export an ISO OpenDocument spreadsheet file to
a comma-separated-value file.
Index: kspread/plugins/scripting/scripts/kexidbimport.py
===================================================================
--- kspread/plugins/scripting/scripts/kexidbimport.py (revision 950460)
+++ kspread/plugins/scripting/scripts/kexidbimport.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Python script to import content from a Kexi Project stored
within a KexiDB into KSpread.
Index: kspread/plugins/scripting/scripts/rpyfunctions.py
===================================================================
--- kspread/plugins/scripting/scripts/rpyfunctions.py (revision 950460)
+++ kspread/plugins/scripting/scripts/rpyfunctions.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
KSpread python script that provides access to the R programming environment for
data analysis and graphics ( http://www.r-project.org ) using the RPy python
Index: kspread/plugins/scripting/scripts/pyregexp.py
===================================================================
--- kspread/plugins/scripting/scripts/pyregexp.py (revision 950460)
+++ kspread/plugins/scripting/scripts/pyregexp.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
import re, Kross, KSpread
func = KSpread.function("PYREGEXP")
Index: kspread/plugins/scripting/scripts/htmlexport.py
===================================================================
--- kspread/plugins/scripting/scripts/htmlexport.py (revision 950460)
+++ kspread/plugins/scripting/scripts/htmlexport.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Python script to export an OpenDocument Spreadsheet File to
a HTML File.
Index: kspread/plugins/scripting/scripts/pytime.py
===================================================================
--- kspread/plugins/scripting/scripts/pytime.py (revision 950460)
+++ kspread/plugins/scripting/scripts/pytime.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
import time, Kross, KSpread
func = KSpread.function("PYTIME")
Index: kspread/plugins/scripting/scripts/kexidbexport.py
===================================================================
--- kspread/plugins/scripting/scripts/kexidbexport.py (revision 950460)
+++ kspread/plugins/scripting/scripts/kexidbexport.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Python script to export content from KSpread to a
Kexi Project stored within a KexiDB.
Index: kspread/plugins/scripting/scripts/functions.py
===================================================================
--- kspread/plugins/scripting/scripts/functions.py (revision 950460)
+++ kspread/plugins/scripting/scripts/functions.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Python script that provides additional formula-functions
to KSpread.
Index: kspread/plugins/scripting/scripts/logger.py
===================================================================
--- kspread/plugins/scripting/scripts/logger.py (revision 950460)
+++ kspread/plugins/scripting/scripts/logger.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
import os, time, Kross, KSpread
class Logger:
Index: kspread/plugins/scripting/scripts/xmlviewer.py
===================================================================
--- kspread/plugins/scripting/scripts/xmlviewer.py (revision 950460)
+++ kspread/plugins/scripting/scripts/xmlviewer.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
# import some python modules.
import os, sys, traceback, tempfile, zipfile
Index: kspread/plugins/scripting/scripts/odfpyexport.py
===================================================================
--- kspread/plugins/scripting/scripts/odfpyexport.py (revision 950460)
+++ kspread/plugins/scripting/scripts/odfpyexport.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Python script to export an OpenDocument Spreadsheet File to
an OpenDocument File using the ODFPY python module.
Index: kspread/plugins/scripting/scripts/csvimport.py
===================================================================
--- kspread/plugins/scripting/scripts/csvimport.py (revision 950460)
+++ kspread/plugins/scripting/scripts/csvimport.py (revision 950461)
@@ -1,5 +1,3 @@
-#!/usr/bin/env kross
-
"""
Python script to import content from a comma-separated-value
file to KSpread.
Index: kplato/plugins/scripting/scripts/busyinfoimport.py
===================================================================
--- kplato/plugins/scripting/scripts/busyinfoimport.py (revision 950460)
+++ kplato/plugins/scripting/scripts/busyinfoimport.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import os, datetime, sys, traceback, pickle
Index: kplato/plugins/scripting/scripts/sample_busyinfocheck.py
===================================================================
--- kplato/plugins/scripting/scripts/sample_busyinfocheck.py (revision 950460)
+++ kplato/plugins/scripting/scripts/sample_busyinfocheck.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import os, datetime, sys, traceback, csv, pickle
Index: kplato/plugins/scripting/scripts/busyinfoexport.py
===================================================================
--- kplato/plugins/scripting/scripts/busyinfoexport.py (revision 950460)
+++ kplato/plugins/scripting/scripts/busyinfoexport.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import os, datetime, sys, traceback, csv, pickle
Index: kplato/plugins/scripting/scripts/busyinfoclear.py
===================================================================
--- kplato/plugins/scripting/scripts/busyinfoclear.py (revision 950460)
+++ kplato/plugins/scripting/scripts/busyinfoclear.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import os, datetime, sys, traceback, pickle
Index: kplato/plugins/scripting/scripts/resourcesimport.py
===================================================================
--- kplato/plugins/scripting/scripts/resourcesimport.py (revision 950460)
+++ kplato/plugins/scripting/scripts/resourcesimport.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import os, datetime, sys, traceback, pickle
Index: kplato/plugins/scripting/scripts/sample_project.py
===================================================================
--- kplato/plugins/scripting/scripts/sample_project.py (revision 950460)
+++ kplato/plugins/scripting/scripts/sample_project.py (revision 950461)
@@ -1,4 +1,3 @@
-#!/usr/bin/env kross
# -*- coding: utf-8 -*-
import os, sys, traceback, tempfile, zipfile