diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-19 14:57:57 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-19 14:57:57 +0200 |
| commit | 3cb73fd8b75b2ef4de7a9bd25fb5d41950078550 (patch) | |
| tree | e2025b906fd88b9e1c5f284e82962f5258f61da1 /SoftwareProperties/aptsources.py | |
| parent | 43b6ac8b952098943868404e8e28868bdf6265a5 (diff) | |
| parent | f8724e0b2329dbd497419123e38bb36d7bbeed71 (diff) | |
| download | python-apt-3cb73fd8b75b2ef4de7a9bd25fb5d41950078550.tar.gz | |
* merged with sebastian (thanks!)
* updated the changelog
* added dh_iconcache to debian/rules
Diffstat (limited to 'SoftwareProperties/aptsources.py')
| -rw-r--r-- | SoftwareProperties/aptsources.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SoftwareProperties/aptsources.py b/SoftwareProperties/aptsources.py index 417563d4..133e9b3d 100644 --- a/SoftwareProperties/aptsources.py +++ b/SoftwareProperties/aptsources.py @@ -155,6 +155,8 @@ class SourceEntry: return # URI self.uri = string.strip(pieces[1]) + if len(self.uri) < 1: + self.invalid = True # distro and components (optional) # Directory or distro self.dist = string.strip(pieces[2]) |
