Permalink
Browse files

Removed unused method ConfigModel.hasChanged()

 * Removed the method hasChanged()
 * Removed references to the 'changed' variable
  • Loading branch information...
1 parent 27a4584 commit 9f4a49cad3a383001f32a9c907b09fb6a3b13f88 Vincent Petithory committed Oct 14, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 autocomplete/config.py
@@ -29,7 +29,6 @@ class ConfigModel():
def __init__(self, filepath):
# init default values
- self.changed = True
self.scope = "global"
self.base_words = ""
self.filepath = filepath
@@ -38,9 +37,6 @@ def __init__(self, filepath):
def load(self):
self.sv.load()
- def has_changed():
- return self.changed
-
def save(self):
self.sv.save()
@@ -49,14 +45,12 @@ def get_scope(self):
def set_scope(self,value):
self.scope = value
- self.changed = True
def get_base_words(self):
return self.base_words
def set_base_words(self,value):
self.base_words = value
- self.changed = True
class ConfigService():
def __init__(self, config, filepath):

0 comments on commit 9f4a49c

Please sign in to comment.