From 1439c3072c5ec2cdf718bc8e9fbee4caf3297f09 Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 29 May 2018 23:16:28 +0200 Subject: [PATCH] GitLab CI: Use buster instead of stretch. --- matemat/primitives/Product.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/matemat/primitives/Product.py b/matemat/primitives/Product.py index 8974366..9a97050 100644 --- a/matemat/primitives/Product.py +++ b/matemat/primitives/Product.py @@ -12,17 +12,17 @@ class Product(object): self._price_non_member: int = 0 raise NotImplementedError('This shoudt not be called!') - def __init__(self, - product_id: int, - name: str, - price_member: int, - price_non_member: int): - if product_id == -1: - raise ValueError('Invalid product ID') - self._product_id: int = product_id - self._name: str = name - self._price_member: int = price_member - self._price_non_member: int = price_non_member + # def __init__(self, + # product_id: int, + # name: str, + # price_member: int, + # price_non_member: int): + # if product_id == -1: + # raise ValueError('Invalid product ID') + # self._product_id: int = product_id + # self._name: str = name + # self._price_member: int = price_member + # self._price_non_member: int = price_non_member @property def id(self) -> int: