Syntax Error - UpdateManager/Core/utils.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: update-manager
Came across this while poking around (trying to solve a boot issue with x-server 1.9)
I don't know python at all, but it just looked wrong
File: /usr/lib/
Lines (on my system): 195 - 204
# then synaptic
elif os.path.
cnd = apt_pkg.
apt_
use_proxy = cnf.find_
if use_proxy:
proxy_host = cnf.find(
proxy_port = str(cnf.
if proxy_host and proxy_port:
proxy = "http://
Notice the "cnd = apt_pkg.
when all other lines refer to variable "cnf"
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: update-manager-core 1:0.142.6 [modified: usr/share/
ProcVersionSign
Uname: Linux 2.6.35-14-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Aug 10 16:42:47 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
Nice catch. many thanks.
The typo was introduced in http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ maverick/ update- manager/ maverick/ revision/ 285