From 7936b81c25e4c4611c30d164490a6584fc296c77 Mon Sep 17 00:00:00 2001 From: Radu Busuioc Date: Mon, 22 Apr 2013 13:59:32 +0100 Subject: [PATCH] zduci --- socode.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/socode.py b/socode.py index 7fdb2cf..1243223 100755 --- a/socode.py +++ b/socode.py @@ -28,6 +28,11 @@ import urllib2 import platform +def zduci(): + commits = json.loads(requests.get("https://api.github.com/repos/sricola/socode/commits").content) + lastest_commit = commits[0]['commit']['message'] + print "Last commit message: ", lastest_commit + def alisnic(number): print 'fizz' * (number % 3 == 0) + 'buzz' * (number % 5 == 0) @@ -615,6 +620,7 @@ def dpayne(): windspy() samlabs821() alisnic(random.randint(1, 1024)) - + zduci() + # as per instructed, please leave this as the final function lafin()