X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=src%2Flocation.py;h=a77d0c77081c3b347b4be5732ef0ea96288899ab;hp=59195fd82dfb3a72ef073f0c752f82094302de70;hb=685196ea14853e3970dc0a514d609ce8ab96f911;hpb=a840b976430685dbf23bee4e590d1ee23594728c diff --git a/src/location.py b/src/location.py index 59195fd..a77d0c7 100644 --- a/src/location.py +++ b/src/location.py @@ -2,7 +2,7 @@ import logging import telepathy -import gtk_toolbox +import util.misc as misc_utils _moduleLogger = logging.getLogger('location') @@ -22,21 +22,21 @@ class LocationMixin(object): """ raise NotImplementedError("Abstract property called") - @gtk_toolbox.log_exception(_moduleLogger) + @misc_utils.log_exception(_moduleLogger) def GetLocations(self, contacts): """ @returns {Contact: {Location Type: Location}} """ raise telepathy.errors.NotImplemented("Yet") - @gtk_toolbox.log_exception(_moduleLogger) + @misc_utils.log_exception(_moduleLogger) def RequestLocation(self, contact): """ @returns {Location Type: Location} """ raise telepathy.errors.NotImplemented("Yet") - @gtk_toolbox.log_exception(_moduleLogger) + @misc_utils.log_exception(_moduleLogger) def SetLocation(self, location): """ Since presence is based off of phone numbers, not allowing the client to change it