summaryrefslogtreecommitdiff
path: root/py-fake-service/app/adapter/tag.py
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-08-12 14:34:27 -0300
committerDuda Dornelles <ddornell@thoughtworks.com>2014-08-12 14:54:29 -0300
commitcce7b837e4180167d426224ef625e12a8abc4994 (patch)
tree33716957d809f3345317ee91c9fb067c996eb761 /py-fake-service/app/adapter/tag.py
parent103180329b3aad65fa816056c2ca2e9f51424507 (diff)
updating tags on py-fake-service
Diffstat (limited to 'py-fake-service/app/adapter/tag.py')
-rw-r--r--py-fake-service/app/adapter/tag.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/py-fake-service/app/adapter/tag.py b/py-fake-service/app/adapter/tag.py
index 73103490..a0f3ec1b 100644
--- a/py-fake-service/app/adapter/tag.py
+++ b/py-fake-service/app/adapter/tag.py
@@ -18,3 +18,6 @@ class Tag:
def increment_read(self):
self.counts['read'] += 1
+
+ def decrement_count(self):
+ self.counts['total'] -= 1