From df9a8f0632bd68c2ca3ec9da2b0e2730a795fce8 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 7 Jul 2020 02:28:31 +0400 Subject: [PATCH] A little clean up. --- piggybank/currencies.py | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/piggybank/currencies.py b/piggybank/currencies.py index 9f0cc99..7cc3907 100644 --- a/piggybank/currencies.py +++ b/piggybank/currencies.py @@ -123,29 +123,3 @@ class Currency: return f"{self.iso};{self.name};{self.description};" \ f"{self.count};{','.join(self.coin_names)};" \ f"{','.join(list(map(str, self.face_values)))}" - - -# CURRENCIES: Dict[str, Currency] = { -# "RUB": Currency("RUB", "Russian ruble", "Russian Federation", 8, -# ["1к.", "5к.", "10к.", "50к.", "1₽", "2₽", "5₽", "10₽"], -# [1, 5, 10, 50, 1_00, 2_00, 5_00, 10_00]), -# "SRUB": Currency("SRUB", "Russian ruble (shortened)", -# "Russian Federation. Excluding coins of 1 and 5 kopek.", -# 6, ["10к.", "50к.", "1₽", "2₽", "5₽", "10₽"], -# [10, 50, 1_00, 2_00, 5_00, 10_00]), -# "BYN": Currency("BYN", "Belarusian ruble", "Belarus", 8, -# ["1к.", "2к.", "5к.", "10к.", "20к.", "50к.", "1р.", "2р."], -# [1, 2, 5, 10, 20, 50, 1_00, 2_00]), -# "UAH": Currency("UAH", "Ukrainian hryvnia", "Ukraine", 10, -# ["1к.", "2к.", "5к.", "10к.", "25к.", "50к.", "₴1", "₴2", "₴5", "₴10"], -# [1, 2, 5, 10, 25, 50, 1_00, 2_00, 5_00, 10_00]), -# "USD": Currency("USD", "US Dollar", "United States of America", 6, -# ["1¢", "5¢", "10¢", "25¢", "50¢", "$1"], -# [1, 5, 10, 25, 50, 1_00]), -# "EUR": Currency("EUR", "Euro", "European Union", 8, -# ["1c", "2c", "5c", "10c", "20c", "50c", "€1", "€2"], -# [1, 2, 5, 10, 20, 50, 1_00, 2_00]), -# "GBP": Currency("GBP", "Pound sterling", "United Kingdom", 9, -# ["1p", "2p", "5p", "10p", "20p", "25p", "50p", "£1", "£2"], -# [1, 2, 5, 10, 20, 25, 50, 1_00, 2_00]) -# }