all: Fix execute permission and shebang at files

Non-standalone python scripts shall not have a shebang. Others will need
to be executable.
(cherry picked from commit 6ec513d17cafcdd235b4805363d3cd6daa494f2f)

bzr revid: p_christ@hol.gr-20110408112324-nc781po7efhjye21
This commit is contained in:
P. Christeas 2011-04-08 14:23:24 +03:00
parent a0507fe0db
commit 9e44cd5bfe
25 changed files with 7 additions and 27 deletions

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
##############################################################################
#

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
##############################################################################
#

0
addons/document/odt2txt.py Normal file → Executable file
View File

0
addons/document/test_cindex.py Normal file → Executable file
View File

0
addons/document_ftp/ftpserver/ftpserver.py Normal file → Executable file
View File

0
addons/document_webdav/test_davclient.py Normal file → Executable file
View File

10
addons/email_template/html2text.py Normal file → Executable file
View File

@ -444,11 +444,11 @@ if __name__ == "__main__":
encoding = 'utf8'
if len(sys.argv) > 2:
encoding = sys.argv[2]
f = open(arg, 'r')
try:
data = f.read().decode(encoding)
finally:
f.close()
f = open(arg, 'r')
try:
data = f.read().decode(encoding)
finally:
f.close()
else:
data = sys.stdin.read().decode('utf8')
wrapwrite(html2text(data, baseurl))

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################
#

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################
#

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################
@ -89,10 +88,3 @@ class salary_structure_report(report_sxw.rml_parse):
report_sxw.report_sxw('report.salary.structure', 'hr.employee', 'hr_payroll/report/report_emp_salary_structure.rml', parser=salary_structure_report)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################
@ -249,4 +248,3 @@ class employees_salary_report(report_sxw.rml_parse):
report_sxw.report_sxw('report.employees.salary', 'hr.payslip', 'hr_payroll/report/report_employees_detail.rml', parser=employees_salary_report,header='internal landscape')
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################
@ -78,4 +77,4 @@ class payroll_advice_report(report_sxw.rml_parse):
report_sxw.report_sxw('report.payroll.advice', 'hr.payroll.advice', 'hr_payroll/report/report_payroll_advice.rml', parser=payroll_advice_report)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################
@ -106,4 +105,4 @@ report_sxw.report_sxw(
parser=report_payroll_register
)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
#-*- coding:utf-8 -*-
##############################################################################
@ -119,4 +118,3 @@ class year_salary_report(report_sxw.rml_parse):
report_sxw.report_sxw('report.year.salary', 'hr.payslip', 'hr_payroll/report/report_year_report.rml', parser=year_salary_report,header='internal landscape')
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

0
addons/l10n_ch/readme.txt Executable file → Normal file
View File

0
addons/l10n_de/i18n/pt_BR.po Executable file → Normal file
View File

0
addons/l10n_de/i18n/zh_CN.po Executable file → Normal file
View File

0
addons/l10n_de/i18n/zh_TW.po Executable file → Normal file
View File

View File

0
addons/sale_layout/i18n/fr.po Executable file → Normal file
View File

View File

0
addons/wiki/web/widgets/rss/feedparser.py Normal file → Executable file
View File