summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
authorMichael Vogt <egon@top>2005-12-05 15:30:48 +0100
committerMichael Vogt <egon@top>2005-12-05 15:30:48 +0100
commita2fe2a40f43d5c95cb849f8f0306ed25dcde2298 (patch)
tree9f67ef6c02e6907b8889d765f9105810cc3085ba /SoftwareProperties
parentbf17713ea0b6bff421d305e8ae91cbb68f46ff8a (diff)
downloadpython-apt-a2fe2a40f43d5c95cb849f8f0306ed25dcde2298.tar.gz
* detect security.u.c as well
Diffstat (limited to 'SoftwareProperties')
-rw-r--r--SoftwareProperties/aptsources.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/SoftwareProperties/aptsources.py b/SoftwareProperties/aptsources.py
index 1c8273f2..b32b222e 100644
--- a/SoftwareProperties/aptsources.py
+++ b/SoftwareProperties/aptsources.py
@@ -131,11 +131,6 @@ class SourceEntry:
# disabled, add a "#"
if string.strip(self.line)[0] != "#":
self.line = "#" + self.line
- def get_disabled(self):
- return not self.disabled
- def set_disabled(self, new_value):
- return self.set_enbaled(not new_value)
- disabled = property(get_disabled, set_disabled)
def str(self):
""" return the current line as string """