From eac5b423365512fbb9d8f2135919ec6f1f5398b5 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 8 Sep 2007 01:03:34 +0000 Subject: [PATCH] remove no longer needed exec_deluge_command --- src/common.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/common.py b/src/common.py index 144e5227c..cd55004e4 100644 --- a/src/common.py +++ b/src/common.py @@ -180,16 +180,6 @@ def exec_command(executable, *parameters): warning.run() warning.destroy() -def exec_deluge_command(script, *parameters): - """Execute deluge's command like browser.py, update.py and others""" - - import sys - - py_version = sys.version[:3] - full_path = os.path.join(INSTALL_PREFIX, 'lib', 'python' + py_version, - 'site-packages', 'deluge', script) - exec_command('python', full_path, *parameters) - def send_info(): import urllib import platform