diff options
| author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-06-23 02:50:26 +0200 |
|---|---|---|
| committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-15 12:28:52 +0200 |
| commit | 82b24514cfe6232e278ba5783171dd3a39b8e66d (patch) | |
| tree | d5a7923cab48d13b48ed131556430d80d75a82d0 /src | |
| parent | 2d05235f9d967c4efc3581d278cd367431c73353 (diff) | |
Still mucking around with eclipse stuff
Diffstat (limited to 'src')
| -rw-r--r-- | src/nbblib/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nbblib/main.py b/src/nbblib/main.py index 3014355..079d743 100644 --- a/src/nbblib/main.py +++ b/src/nbblib/main.py @@ -116,6 +116,7 @@ class Property(object): if kwargs.has_key('default'): self.default = kwargs['default'] def __get__(self, instance, owner): + # print "Property.__get__", instance, owner if hasattr(self, 'value'): return self.value elif hasattr(self, 'default'): @@ -123,6 +124,7 @@ class Property(object): else: return None def __set__(self, instance, value): + # print "Property.__set__", instance, value if hasattr(self, 'value'): raise "Property cannot be set more than once" elif not self.isvalid(value): |
