summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2017-01-01 20:37:12 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2017-01-01 20:37:12 +0100
commitde21b62a334cc22563d09f9e684fc3f01549b4b5 (patch)
tree64afa6da48b2ae1fc0cad946cb7d080657aa75f3
parent039f2f3e6f18b298fb5fe1ee0ee3848b1ddb6563 (diff)
downloadalpine-stats-de21b62a334cc22563d09f9e684fc3f01549b4b5.tar.bz2
alpine-stats-de21b62a334cc22563d09f9e684fc3f01549b4b5.tar.xz
Update year
-rw-r--r--packages.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index 39f06fe..39487cd 100644
--- a/packages.py
+++ b/packages.py
@@ -7,7 +7,7 @@
#
# Licensed under GPLv2
#
-# Copyright (c) 2012-2014 Fabian Affolter <fabian at affolter-engineering.ch>
+# Copyright (c) 2012-2017 Fabian Affolter <fabian at affolter-engineering.ch>
import os
import sys
@@ -35,6 +35,7 @@ def grab(url):
countDev = 0
countDoc = 0
countLib = 0
+ countCom = 0
total = 0
fobj = open('APKINDEX', 'r')
@@ -49,7 +50,7 @@ def grab(url):
else:
countStd = countStd + 1
fobj.close()
- total = countStd + countDev + countDoc + countLib
+ total = countStd + countDev + countDoc + countLib
numbers = (countStd, countDev, countDoc, countLib, total)
return numbers