SOURCES: deluge-pyc.patch (NEW) - use .pyc instead of .py files

aflinta aflinta at pld-linux.org
Mon Sep 10 02:37:13 CEST 2007


Author: aflinta                      Date: Mon Sep 10 00:37:13 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use .pyc instead of .py files

---- Files affected:
SOURCES:
   deluge-pyc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/deluge-pyc.patch
diff -u /dev/null SOURCES/deluge-pyc.patch:1.1
--- /dev/null	Mon Sep 10 02:37:13 2007
+++ SOURCES/deluge-pyc.patch	Mon Sep 10 02:37:08 2007
@@ -0,0 +1,31 @@
+diff -urN deluge-0.5.4.1/src/common.py deluge-0.5.4.1.new/src/common.py
+--- deluge-0.5.4.1/src/common.py	2007-08-13 09:29:41.000000000 +0200
++++ deluge-0.5.4.1.new/src/common.py	2007-09-10 02:16:18.262995393 +0200
+@@ -129,7 +129,7 @@
+         import webbrowser
+         webbrowser.open(link)
+     else:
+-        exec_deluge_command('browser.py', link)
++        exec_deluge_command('browser.pyc', link)
+ 
+ def is_url(url):
+     import re
+diff -urN deluge-0.5.4.1/src/interface.py deluge-0.5.4.1.new/src/interface.py
+--- deluge-0.5.4.1/src/interface.py	2007-08-13 09:29:41.000000000 +0200
++++ deluge-0.5.4.1.new/src/interface.py	2007-09-10 02:16:18.262995393 +0200
+@@ -115,13 +115,13 @@
+         self.update_interface = True
+ 
+         def new_release_check():
+-            common.exec_deluge_command('update.py', common.PROGRAM_VERSION)
++            common.exec_deluge_command('update.pyc', common.PROGRAM_VERSION)
+ 
+         def send_info():
+             import time
+             
+             def _run_script():
+-                common.exec_deluge_command('info.py', common.PROGRAM_VERSION)
++                common.exec_deluge_command('info.pyc', common.PROGRAM_VERSION)
+             
+             info_file = os.path.join(common.CONFIG_DIR, 'infosent')
+             
================================================================


More information about the pld-cvs-commit mailing list