[Debtorrent-commits] r65 - /debtorrent/trunk/DebTorrent/download_bt1.py
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Sun May 27 00:41:11 UTC 2007
Author: camrdale-guest
Date: Sun May 27 00:41:11 2007
New Revision: 65
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=65
Log:
Remove unneeded error function from get_packages.
Modified:
debtorrent/trunk/DebTorrent/download_bt1.py
Modified: debtorrent/trunk/DebTorrent/download_bt1.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/download_bt1.py?rev=65&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/download_bt1.py (original)
+++ debtorrent/trunk/DebTorrent/download_bt1.py Sun May 27 00:41:11 2007
@@ -382,7 +382,7 @@
"""
- (response, priority) = get_packages(file, url, status_to_download, errorfunc)
+ (response, priority) = get_packages(file, url, status_to_download)
if response:
try:
check_message(response)
@@ -437,7 +437,7 @@
return (response, None)
-def get_packages(file, url, status_to_download, errorfunc):
+def get_packages(file, url, status_to_download):
"""Extract the response data from a Packages file.
@type file: C{string}
@@ -450,8 +450,6 @@
/var/lib/dpkg/status (0 = disabled [download all or use --priority],
1 = download updated versions of installed packages,
2 = download all installed packages)
- @type errorfunc: C{function}
- @param errorfunc: the function to use to print any error messages
@rtype: C{dictionary}
@return: the metainfo data
More information about the Debtorrent-commits
mailing list