summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar cp1 <christopherpool1@googlemail.com> 2009-06-11 17:43:30 +0200
committerGravatar cp1 <christopherpool1@googlemail.com> 2009-06-11 17:43:30 +0200
commitb7b9fb2003d54588a5b69be249f95415404fef56 (patch)
tree8fac0b02b49949f3fb6690aec1163f7a5935eb9d
parentcorrecting false identation (tabs to spaces) (diff)
downloadpyload-b7b9fb2003d54588a5b69be249f95415404fef56.tar.xz
utf-8 encodung, correcting file header
-rw-r--r--Core.py2
-rw-r--r--Plugins/BluehostTo.py2
-rw-r--r--Plugins/CCF.py2
-rw-r--r--Plugins/MyvideoDe.py1
-rw-r--r--Plugins/Plugin.py2
-rw-r--r--Plugins/RSDF.py2
-rw-r--r--Plugins/RapidshareCom.py2
-rw-r--r--Plugins/ShragleCom.py2
-rw-r--r--Plugins/UploadedTo.py1
-rw-r--r--Plugins/XupIn.py1
-rw-r--r--Plugins/YoupornCom.py1
-rw-r--r--Plugins/YoutubeChannel.py1
-rw-r--r--Plugins/YoutubeCom.py1
-rw-r--r--Plugins/ZippyshareCom.py1
-rw-r--r--Plugins/ZshareNet.py1
-rw-r--r--module/Py_Load_File.py3
-rw-r--r--module/download_thread.py2
-rw-r--r--module/network/Keepalive.py3
-rw-r--r--module/network/MultipartPostHandler.py3
-rwxr-xr-xmodule/network/Request.py2
-rw-r--r--module/network/__init__.py2
-rw-r--r--module/remote/ClientHandler.py3
-rw-r--r--module/remote/ClientSocket.py3
-rw-r--r--module/remote/RequestHandler.py3
-rw-r--r--module/remote/RequestObject.py3
-rw-r--r--module/remote/SocketServer.py3
-rw-r--r--module/thread_list.py2
-rwxr-xr-xpyMainGui.py2
28 files changed, 41 insertions, 15 deletions
diff --git a/Core.py b/Core.py
index 25861c334..1d1114878 100644
--- a/Core.py
+++ b/Core.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2009 sp00b, sebnapi, RaNaN
diff --git a/Plugins/BluehostTo.py b/Plugins/BluehostTo.py
index c099d792f..3b8d7b6be 100644
--- a/Plugins/BluehostTo.py
+++ b/Plugins/BluehostTo.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
import re
import time
diff --git a/Plugins/CCF.py b/Plugins/CCF.py
index 990e6a2ca..d7792dce4 100644
--- a/Plugins/CCF.py
+++ b/Plugins/CCF.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os.path
diff --git a/Plugins/MyvideoDe.py b/Plugins/MyvideoDe.py
index b4427f0fc..3f7ce915b 100644
--- a/Plugins/MyvideoDe.py
+++ b/Plugins/MyvideoDe.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
from Plugin import Plugin
diff --git a/Plugins/Plugin.py b/Plugins/Plugin.py
index c1205e206..a253ffb74 100644
--- a/Plugins/Plugin.py
+++ b/Plugins/Plugin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
import ConfigParser
diff --git a/Plugins/RSDF.py b/Plugins/RSDF.py
index d0ac3ec25..c2406d6e0 100644
--- a/Plugins/RSDF.py
+++ b/Plugins/RSDF.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
import base64
diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py
index f7b981e37..24847386a 100644
--- a/Plugins/RapidshareCom.py
+++ b/Plugins/RapidshareCom.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
diff --git a/Plugins/ShragleCom.py b/Plugins/ShragleCom.py
index 3cd093ce2..bcf650d69 100644
--- a/Plugins/ShragleCom.py
+++ b/Plugins/ShragleCom.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
import re
import time
diff --git a/Plugins/UploadedTo.py b/Plugins/UploadedTo.py
index edb39ab45..ba1487abe 100644
--- a/Plugins/UploadedTo.py
+++ b/Plugins/UploadedTo.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
from time import time
diff --git a/Plugins/XupIn.py b/Plugins/XupIn.py
index 0f5c9a8b8..092d525c9 100644
--- a/Plugins/XupIn.py
+++ b/Plugins/XupIn.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
from Plugin import Plugin
diff --git a/Plugins/YoupornCom.py b/Plugins/YoupornCom.py
index 20f8ed95c..fb0f4131d 100644
--- a/Plugins/YoupornCom.py
+++ b/Plugins/YoupornCom.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
from Plugin import Plugin
diff --git a/Plugins/YoutubeChannel.py b/Plugins/YoutubeChannel.py
index 9d1ee2211..5b7546de5 100644
--- a/Plugins/YoutubeChannel.py
+++ b/Plugins/YoutubeChannel.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
diff --git a/Plugins/YoutubeCom.py b/Plugins/YoutubeCom.py
index 2a8315ad5..57025791c 100644
--- a/Plugins/YoutubeCom.py
+++ b/Plugins/YoutubeCom.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
from Plugin import Plugin
diff --git a/Plugins/ZippyshareCom.py b/Plugins/ZippyshareCom.py
index d0f27fd53..d4ea43a6f 100644
--- a/Plugins/ZippyshareCom.py
+++ b/Plugins/ZippyshareCom.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
import urllib
diff --git a/Plugins/ZshareNet.py b/Plugins/ZshareNet.py
index 1701387ce..39ec34658 100644
--- a/Plugins/ZshareNet.py
+++ b/Plugins/ZshareNet.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: utf-8 -*-
import re
from Plugin import Plugin
diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py
index 8779a18fd..cbbc5ab6b 100644
--- a/module/Py_Load_File.py
+++ b/module/Py_Load_File.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
import re
from download_thread import Status
diff --git a/module/download_thread.py b/module/download_thread.py
index 3ad2ba85d..f4530c3b3 100644
--- a/module/download_thread.py
+++ b/module/download_thread.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2009 sp00b, sebnapi
diff --git a/module/network/Keepalive.py b/module/network/Keepalive.py
index dbf4d94cb..2443f5bbf 100644
--- a/module/network/Keepalive.py
+++ b/module/network/Keepalive.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
diff --git a/module/network/MultipartPostHandler.py b/module/network/MultipartPostHandler.py
index b6980ae18..6804bcc90 100644
--- a/module/network/MultipartPostHandler.py
+++ b/module/network/MultipartPostHandler.py
@@ -1,4 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
####
# 02/2006 Will Holcomb <wholcomb@gmail.com>
diff --git a/module/network/Request.py b/module/network/Request.py
index 2a0199fb8..cce89f92e 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+
+
"""
authored by: RaNaN
"""
diff --git a/module/network/__init__.py b/module/network/__init__.py
index 8d1c8b69c..8b1378917 100644
--- a/module/network/__init__.py
+++ b/module/network/__init__.py
@@ -1 +1 @@
-
+
diff --git a/module/remote/ClientHandler.py b/module/remote/ClientHandler.py
index 248725ccf..9653db9ae 100644
--- a/module/remote/ClientHandler.py
+++ b/module/remote/ClientHandler.py
@@ -1,5 +1,6 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
+
"""
authored by: RaNaN
diff --git a/module/remote/ClientSocket.py b/module/remote/ClientSocket.py
index ee0d03e82..0e6a5ed53 100644
--- a/module/remote/ClientSocket.py
+++ b/module/remote/ClientSocket.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
-# -'- coding: utf-8 -*.
+# -*- coding: utf-8 -*-
+
"""
authored by: RaNaN
diff --git a/module/remote/RequestHandler.py b/module/remote/RequestHandler.py
index 9ded5d02e..5d39623c3 100644
--- a/module/remote/RequestHandler.py
+++ b/module/remote/RequestHandler.py
@@ -1,5 +1,6 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
+
"""
authored by: RaNaN
diff --git a/module/remote/RequestObject.py b/module/remote/RequestObject.py
index c5786061b..07f22cd17 100644
--- a/module/remote/RequestObject.py
+++ b/module/remote/RequestObject.py
@@ -1,5 +1,6 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
+
"""
authored by: RaNaN
diff --git a/module/remote/SocketServer.py b/module/remote/SocketServer.py
index c683c6672..676cb5556 100644
--- a/module/remote/SocketServer.py
+++ b/module/remote/SocketServer.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
-# -'- coding: utf-8 -*.
+# -*- coding: utf-8 -*-
+
"""
authored by: RaNaN
diff --git a/module/thread_list.py b/module/thread_list.py
index f7be6f000..850e738db 100644
--- a/module/thread_list.py
+++ b/module/thread_list.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2009 sp00b, sebnapi
diff --git a/pyMainGui.py b/pyMainGui.py
index d382dc231..d88242826 100755
--- a/pyMainGui.py
+++ b/pyMainGui.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#Copyright (C) 2009 KingZero