summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-14 22:10:22 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-14 22:10:22 +0200
commitd3d11d25ab5bd2ffa2432aa4d4315d8415a265aa (patch)
tree7a5a21afbc7b193abdc8bfefc6fd21c12862b1b6 /module
parentfs_bsize support (diff)
downloadpyload-d3d11d25ab5bd2ffa2432aa4d4315d8415a265aa.tar.xz
Added missing shebangs, removed unnecessary ones
Diffstat (limited to 'module')
-rw-r--r--module/Api.py1
-rw-r--r--module/PluginThread.py1
-rw-r--r--module/PyFile.py1
-rw-r--r--module/PyPackage.py1
-rw-r--r--module/ThreadManager.py1
-rw-r--r--module/cli/AddPackage.py1
-rw-r--r--module/cli/Handler.py1
-rw-r--r--module/cli/ManageFiles.py1
-rw-r--r--module/common/JsEngine.py1
-rw-r--r--module/common/json_layer.py1
-rw-r--r--module/common/packagetools.py2
-rw-r--r--module/common/pylgettext.py1
-rw-r--r--module/database/DatabaseBackend.py1
-rw-r--r--module/database/FileDatabase.py1
-rw-r--r--module/debug.py1
-rw-r--r--module/network/Browser.py1
-rw-r--r--module/network/Bucket.py1
-rw-r--r--module/network/HTTPChunk.py1
-rw-r--r--module/network/HTTPDownload.py1
-rw-r--r--module/network/HTTPRequest.py1
-rw-r--r--module/network/XDCCRequest.py1
-rw-r--r--module/remote/socketbackend/create_ttypes.py4
-rw-r--r--module/remote/socketbackend/ttypes.py1
-rw-r--r--module/remote/thriftbackend/ThriftTest.py1
-rwxr-xr-xmodule/remote/thriftbackend/thriftgen/pyload/Pyload-remote1
-rw-r--r--module/web/ServerThread.py1
-rw-r--r--module/web/api_app.py1
-rw-r--r--module/web/filters.py1
-rw-r--r--module/web/json_app.py1
-rw-r--r--module/web/middlewares.py1
-rw-r--r--module/web/pyload_app.py1
-rw-r--r--module/web/utils.py1
-rw-r--r--module/web/webinterface.py1
33 files changed, 1 insertions, 36 deletions
diff --git a/module/Api.py b/module/Api.py
index ad11105ba..066d490ec 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/PluginThread.py b/module/PluginThread.py
index 5e3519674..76cf42183 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
diff --git a/module/PyFile.py b/module/PyFile.py
index db9fd5f44..b5dabaabf 100644
--- a/module/PyFile.py
+++ b/module/PyFile.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/module/PyPackage.py b/module/PyPackage.py
index 775318049..01e67051c 100644
--- a/module/PyPackage.py
+++ b/module/PyPackage.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 20c349694..095dfc1ed 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
diff --git a/module/cli/AddPackage.py b/module/cli/AddPackage.py
index bcdaa1a6d..16b32b9ee 100644
--- a/module/cli/AddPackage.py
+++ b/module/cli/AddPackage.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2011-2014 RaNaN
diff --git a/module/cli/Handler.py b/module/cli/Handler.py
index 291d1cb95..37b0d7b99 100644
--- a/module/cli/Handler.py
+++ b/module/cli/Handler.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2011-2014 RaNaN
diff --git a/module/cli/ManageFiles.py b/module/cli/ManageFiles.py
index e0f76411b..8f202c59d 100644
--- a/module/cli/ManageFiles.py
+++ b/module/cli/ManageFiles.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2011-2014 RaNaN
diff --git a/module/common/JsEngine.py b/module/common/JsEngine.py
index 437dda6ae..45c9a50a5 100644
--- a/module/common/JsEngine.py
+++ b/module/common/JsEngine.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/common/json_layer.py b/module/common/json_layer.py
index 4d57a9f38..bb3937cdc 100644
--- a/module/common/json_layer.py
+++ b/module/common/json_layer.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
# abstraction layer for json operations
diff --git a/module/common/packagetools.py b/module/common/packagetools.py
index 5bfbcba95..6fd2d4a38 100644
--- a/module/common/packagetools.py
+++ b/module/common/packagetools.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
# JDownloader/src/jd/controlling/LinkGrabberPackager.java
import re
diff --git a/module/common/pylgettext.py b/module/common/pylgettext.py
index fb36fecee..cab631cf4 100644
--- a/module/common/pylgettext.py
+++ b/module/common/pylgettext.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
from gettext import *
diff --git a/module/database/DatabaseBackend.py b/module/database/DatabaseBackend.py
index 010e05735..15d45e784 100644
--- a/module/database/DatabaseBackend.py
+++ b/module/database/DatabaseBackend.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/module/database/FileDatabase.py b/module/database/FileDatabase.py
index 53bf58fb2..4a5e7c0ef 100644
--- a/module/database/FileDatabase.py
+++ b/module/database/FileDatabase.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/module/debug.py b/module/debug.py
index d29d5628a..54a159e78 100644
--- a/module/debug.py
+++ b/module/debug.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
#coding:utf-8
import re
diff --git a/module/network/Browser.py b/module/network/Browser.py
index 8c9dfa737..3146d7f71 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
from logging import getLogger
diff --git a/module/network/Bucket.py b/module/network/Bucket.py
index 727d28eb9..a096d644a 100644
--- a/module/network/Bucket.py
+++ b/module/network/Bucket.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py
index 32e03ffd4..886306233 100644
--- a/module/network/HTTPChunk.py
+++ b/module/network/HTTPChunk.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py
index 809204070..9b613b684 100644
--- a/module/network/HTTPDownload.py
+++ b/module/network/HTTPDownload.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py
index 1a7396dd5..f61069b60 100644
--- a/module/network/HTTPRequest.py
+++ b/module/network/HTTPRequest.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/network/XDCCRequest.py b/module/network/XDCCRequest.py
index ca92a9b83..74769da96 100644
--- a/module/network/XDCCRequest.py
+++ b/module/network/XDCCRequest.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/remote/socketbackend/create_ttypes.py b/module/remote/socketbackend/create_ttypes.py
index 61dae99ac..65bd11dbe 100644
--- a/module/remote/socketbackend/create_ttypes.py
+++ b/module/remote/socketbackend/create_ttypes.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
import inspect
@@ -37,8 +36,7 @@ def main():
f = open(join(path, "ttypes.py"), "wb")
f.write(
- """#!/usr/bin/env python
-# -*- coding: utf-8 -*-
+ """# -*- coding: utf-8 -*-
# Autogenerated by pyload
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
diff --git a/module/remote/socketbackend/ttypes.py b/module/remote/socketbackend/ttypes.py
index 8140821c3..3fd02fac8 100644
--- a/module/remote/socketbackend/ttypes.py
+++ b/module/remote/socketbackend/ttypes.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Autogenerated by pyload
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
diff --git a/module/remote/thriftbackend/ThriftTest.py b/module/remote/thriftbackend/ThriftTest.py
index a67d86b8d..aec20fa33 100644
--- a/module/remote/thriftbackend/ThriftTest.py
+++ b/module/remote/thriftbackend/ThriftTest.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
index dae1efa1b..7ae6775bd 100755
--- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
+++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
#
# Autogenerated by Thrift Compiler (0.9.0-dev)
#
diff --git a/module/web/ServerThread.py b/module/web/ServerThread.py
index 451517d71..490071377 100644
--- a/module/web/ServerThread.py
+++ b/module/web/ServerThread.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
from __future__ import with_statement
from os.path import exists
diff --git a/module/web/api_app.py b/module/web/api_app.py
index 1629c1677..dd6f65927 100644
--- a/module/web/api_app.py
+++ b/module/web/api_app.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
from urllib import unquote
diff --git a/module/web/filters.py b/module/web/filters.py
index bc253d170..c5e9447ee 100644
--- a/module/web/filters.py
+++ b/module/web/filters.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from os.path import abspath, commonprefix, join
diff --git a/module/web/json_app.py b/module/web/json_app.py
index fc6cc4b7f..0212c27ea 100644
--- a/module/web/json_app.py
+++ b/module/web/json_app.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os.path import join
diff --git a/module/web/middlewares.py b/module/web/middlewares.py
index 73a5b8b9d..5f56f81ee 100644
--- a/module/web/middlewares.py
+++ b/module/web/middlewares.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
import gzip
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py
index 76254b650..c2749b128 100644
--- a/module/web/pyload_app.py
+++ b/module/web/pyload_app.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/web/utils.py b/module/web/utils.py
index a89c87558..cb95b1cf5 100644
--- a/module/web/utils.py
+++ b/module/web/utils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify
diff --git a/module/web/webinterface.py b/module/web/webinterface.py
index 21a23bbc0..00618870c 100644
--- a/module/web/webinterface.py
+++ b/module/web/webinterface.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This program is free software; you can redistribute it and/or modify