From e2185d4c9b847ccb31243b90acddc5034cc43127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Tue, 22 Sep 2015 01:17:25 +0200 Subject: [PATCH] rename sms.smsclient to sms.gateway and use the word gateway everywhere --- smsclient_ovh/__init__.py | 4 +--- smsclient_ovh/{smsclient.py => sms_gateway.py} | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) rename smsclient_ovh/{smsclient.py => sms_gateway.py} (99%) diff --git a/smsclient_ovh/__init__.py b/smsclient_ovh/__init__.py index aa82470..f805f8f 100644 --- a/smsclient_ovh/__init__.py +++ b/smsclient_ovh/__init__.py @@ -20,6 +20,4 @@ # ############################################################################## -from . import smsclient - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: +from . import sms_gateway diff --git a/smsclient_ovh/smsclient.py b/smsclient_ovh/sms_gateway.py similarity index 99% rename from smsclient_ovh/smsclient.py rename to smsclient_ovh/sms_gateway.py index 86f8762..1a47c15 100644 --- a/smsclient_ovh/smsclient.py +++ b/smsclient_ovh/sms_gateway.py @@ -27,7 +27,7 @@ _logger = logging.getLogger(__name__) class SmsClient(models.Model): - _inherit = "sms.smsclient" + _inherit = "sms.gateway" @api.model def get_method(self):