CORD-1954: Remove obsolete files;
fix latlng validation;
replace prints with logging
Change-Id: I88d98667839a34f0e6fb3c70369ce20ece80cb04
diff --git a/xos/attic/usernetworkinterface_model.py b/xos/attic/usernetworkinterface_model.py
index e48251c..121611e 100755
--- a/xos/attic/usernetworkinterface_model.py
+++ b/xos/attic/usernetworkinterface_model.py
@@ -14,9 +14,7 @@
# limitations under the License.
-def __unicode__(self): return u'%s' % (self.name)
-
-def save(self, *args, **kwargs):
+def __xos_save_base(self, *args, **kwargs):
if self.latlng:
try:
@@ -33,4 +31,5 @@
except:
raise ValueError("The lat/lng value is not formatted correctly.")
- super(UserNetworkInterface, self).save(*args, **kwargs)
+ return False # let xosbase know to save the model
+