From 82a03ece747c4b230c459910e3ae38cb7599f6a4 Mon Sep 17 00:00:00 2001 From: PCoder <purple.coder@yahoo.co.uk> Date: Thu, 18 Jul 2019 08:46:38 +0530 Subject: [PATCH] Update comment --- hosting/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/models.py b/hosting/models.py index bb7c5cc1..50e79cd0 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -537,7 +537,7 @@ class HostingBillLineItem(AssignPermissionsMixin, models.Model): def get_vm_id(self): """ If VM_ID is set in the metadata extract and return it as integer - other return -1 + other return None :return: """ @@ -747,7 +747,7 @@ class FailedInvoice(AssignPermissionsMixin, models.Model): class Meta: permissions = ( - ('view_failedinvoice', 'View User Card'), + ('view_failedinvoice', 'View Failed Invoice'), ) @classmethod