Revision 1309 org.gvsig.scripting/trunk/org.gvsig.scripting/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/resources-plugin/scripting/lib/gvsig/featurestore.py
featurestore.py | ||
---|---|---|
37 | 37 |
except Exception, e: |
38 | 38 |
return None |
39 | 39 |
|
40 |
def __iter(self): |
|
41 |
return self.getFeatureSet().__iter__() |
|
42 |
|
|
43 |
def __len(self): |
|
44 |
return self.getFeatureSet().getSize() |
|
45 |
|
|
46 | 40 |
def __append(self, *args, **kwargs): |
47 | 41 |
try: |
48 | 42 |
if not self.isEditing(): |
... | ... | |
107 | 101 |
JFeatureStore.commit = __commit |
108 | 102 |
JFeatureStore.abort = __abort |
109 | 103 |
JFeatureStore.__call__ = __call |
110 |
JFeatureStore.__iter__ = __iter |
|
111 |
JFeatureStore.__len__ = __len |
|
104 |
JFeatureStore.__len__ = JFeatureStore.size64 |
|
112 | 105 |
|
113 | 106 |
|
114 | 107 |
|
Also available in: Unified diff